2011-12-15 06:43:45 +00:00
|
|
|
require File.expand_path("../base", __FILE__)
|
|
|
|
|
|
|
|
describe Vagrant do
|
|
|
|
it "has the path to the source root" do
|
|
|
|
described_class.source_root.should == Pathname.new(File.expand_path("../../../", __FILE__))
|
|
|
|
end
|
|
|
|
|
2011-12-17 17:14:05 +00:00
|
|
|
it "has a registry for commands" do
|
|
|
|
described_class.commands.should be_a(Vagrant::Registry)
|
|
|
|
end
|
|
|
|
|
2011-12-16 04:32:33 +00:00
|
|
|
it "has a registry for config keys" do
|
|
|
|
described_class.config_keys.should be_a(Vagrant::Registry)
|
|
|
|
end
|
|
|
|
|
2011-12-15 06:43:45 +00:00
|
|
|
it "has a registry for hosts" do
|
|
|
|
described_class.hosts.should be_a(Vagrant::Registry)
|
|
|
|
end
|
|
|
|
|
|
|
|
it "has a registry for guests" do
|
|
|
|
described_class.guests.should be_a(Vagrant::Registry)
|
|
|
|
end
|
|
|
|
|
|
|
|
it "has a registry for provisioners" do
|
|
|
|
described_class.provisioners.should be_a(Vagrant::Registry)
|
|
|
|
end
|
|
|
|
end
|