test/all_test.rb in override-0.0.8 vs test/all_test.rb in override-0.0.9
- old
+ new
@@ -185,10 +185,10 @@
setup do
expect(@foo, :bar, :with => ["Michel", 32], :return => true)
end
should "raises an error if expectations are not met" do
- assert_raise ArgumentError do
+ assert_raise Override::ExpectationError do
@foo.bar "Michel", 31
end
end
should "succeeds if expectations are met" do