Update tests

This commit is contained in:
Mitchell Hashimoto 2014-05-01 09:41:59 -07:00
parent a9dfb6b3bd
commit ba6272cc48
1 changed files with 10 additions and 0 deletions

View File

@ -727,6 +727,16 @@ VF
expect(subject.default_provider).to eq(:baz)
end
end
it "is VirtualBox if nothing else is usable" do
plugin_providers[:foo] = [provider_usable_class(false), { priority: 5 }]
plugin_providers[:bar] = [provider_usable_class(false), { priority: 5 }]
plugin_providers[:baz] = [provider_usable_class(false), { priority: 5 }]
with_temp_env("VAGRANT_DEFAULT_PROVIDER" => nil) do
expect(subject.default_provider).to eq(:virtualbox)
end
end
end
describe "local data path" do