core: get tests passing again

This commit is contained in:
Mitchell Hashimoto 2013-11-23 16:43:15 -08:00
parent 91651f806b
commit 0506f47a4a
1 changed files with 1 additions and 1 deletions

View File

@ -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