From 213000fd3d542726e9eb8dba919ff7dabcd0c664 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 10 Jan 2014 16:20:33 -0800 Subject: [PATCH] core: update Registry tests to make sure #keys doesn't load --- test/unit/vagrant/registry_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/vagrant/registry_test.rb b/test/unit/vagrant/registry_test.rb index a4580b676..b6aa8c6eb 100644 --- a/test/unit/vagrant/registry_test.rb +++ b/test/unit/vagrant/registry_test.rb @@ -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