examples/rr/double_verify_example.rb in rr-0.1.0 vs examples/rr/double_verify_example.rb in rr-0.1.1

- old
+ new

@@ -14,10 +14,10 @@ it "verifies each scenario was met" do scenario = Scenario.new(@space) @double.register_scenario scenario scenario.with(1).once.returns {nil} - proc {@double.verify}.should raise_error(Expectations::TimesCalledExpectationError) + proc {@double.verify}.should raise_error(Errors::TimesCalledError) @object.foobar(1) proc {@double.verify}.should_not raise_error end end end