vaguerent/test/unit/vagrant/plugin/v2/provider_test.rb
Mitchell Hashimoto 99c5cddb7d V2 config supports the concept of an "UNSET" value when doing merges
This value should be used as a default, and allows the parent `merge`
method to "just work" most of the time.
2012-12-23 16:29:24 -08:00

19 lines
471 B
Ruby

require File.expand_path("../../../../base", __FILE__)
describe Vagrant::Plugin::V2::Provider do
let(:machine) { Object.new }
let(:instance) { described_class.new(machine) }
it "should return nil by default for actions" do
instance.action(:whatever).should be_nil
end
it "should return nil by default for ssh info" do
instance.ssh_info.should be_nil
end
it "should return nil by default for state" do
instance.state.should be_nil
end
end