examples/rr/probe_creator_example.rb in rr-0.1.0 vs examples/rr/probe_creator_example.rb in rr-0.1.1
- old
+ new
@@ -74,10 +74,10 @@
it "sets expectations on the subject while calling the original method" do
def @subject.foobar(*args); :baz; end
@creator.foobar(1, 2).twice
@subject.foobar(1, 2).should == :baz
@subject.foobar(1, 2).should == :baz
- proc {@subject.foobar(1, 2)}.should raise_error(Expectations::TimesCalledExpectationError)
+ proc {@subject.foobar(1, 2)}.should raise_error(Errors::TimesCalledError)
end
end
end
\ No newline at end of file