spec/adhearsion/router/evented_route_spec.rb in adhearsion-2.3.0 vs spec/adhearsion/router/evented_route_spec.rb in adhearsion-2.3.1
- old
+ new
@@ -22,10 +22,10 @@
c.foo
end
end
it "should yield the call to the block" do
- flexmock(call).should_receive(:foo).once
+ call.should_receive(:foo).once
route.dispatch call
end
end
end
end