From 0506f47a4a3abd63c6a0ee59771768d6c48e024d Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 23 Nov 2013 16:43:15 -0800 Subject: [PATCH] core: get tests passing again --- test/unit/vagrant/environment_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/vagrant/environment_test.rb b/test/unit/vagrant/environment_test.rb index 07bd261fa..5b0a732c4 100644 --- a/test/unit/vagrant/environment_test.rb +++ b/test/unit/vagrant/environment_test.rb @@ -312,7 +312,7 @@ describe Vagrant::Environment do it "should allow passing in a custom action runner" do instance.action_runner.should_not_receive(:run) other_runner = mock - other_runner.should_receive(:run).with(:bar).and_return(:foo) + other_runner.should_receive(:run).and_return(:foo) instance.hook(:bar, other_runner).should == :foo end