core: update Registry tests to make sure #keys doesn't load
This commit is contained in:
parent
fbcc08b3ee
commit
213000fd3d
|
@ -40,10 +40,10 @@ describe Vagrant::Registry do
|
|||
|
||||
instance["foo"].should eql(object)
|
||||
end
|
||||
|
||||
|
||||
it "should be able to get keys with #keys" do
|
||||
instance.register("foo") { "bar" }
|
||||
instance.register("baz") { "qux" }
|
||||
instance.register("baz") { raise "BOOM" }
|
||||
|
||||
instance.keys.sort.should == [ 'baz', 'foo' ]
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue