core: update Registry tests to make sure #keys doesn't load

This commit is contained in:
Mitchell Hashimoto 2014-01-10 16:20:33 -08:00
parent fbcc08b3ee
commit 213000fd3d
1 changed files with 2 additions and 2 deletions

View File

@ -40,10 +40,10 @@ describe Vagrant::Registry do
instance["foo"].should eql(object) instance["foo"].should eql(object)
end end
it "should be able to get keys with #keys" do it "should be able to get keys with #keys" do
instance.register("foo") { "bar" } instance.register("foo") { "bar" }
instance.register("baz") { "qux" } instance.register("baz") { raise "BOOM" }
instance.keys.sort.should == [ 'baz', 'foo' ] instance.keys.sort.should == [ 'baz', 'foo' ]
end end