vendor/plugins/rspec/spec/spec/story/world_spec.rb in spree-0.2.0 vs vendor/plugins/rspec/spec/spec/story/world_spec.rb in spree-0.4.0
- old
+ new
@@ -322,10 +322,10 @@
# then
end
it 'should tell listeners but not execute the step in dry-run mode' do
# given
- Runner.stub!(:dry_run).and_return(true)
+ World.stub!(:dry_run).and_return(true)
mock_listener = mock('listener')
World.add_listener(mock_listener)
$step_invoked = false
world = World.create