core: get tests passing again
This commit is contained in:
parent
91651f806b
commit
0506f47a4a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue