Permalink
Browse files

Added a to-do about recording calls that throw exceptions.

git-svn-id: http://svn.notahat.com/not_a_mock/trunk@7 65be6520-f94d-4a94-a7bb-1ef24f465d78
  • Loading branch information...
1 parent a363028 commit 04380cdf1af78a47c494eb40f270b6bbaebfa7f0 pete committed Feb 4, 2008
Showing with 7 additions and 0 deletions.
  1. +7 −0 TODO
View
@@ -1,5 +1,12 @@
== To Do
+=== Recording calls that throw exceptions
+
+Currently calls to methods that throw exceptions are not recorded. It would
+be good if they were, and if assertions could be made against them, e.g.
+
+ object.should have_received(:gsub).and_raised(ArgumentError)
+
=== Stubbing and recording of methods that take blocks
You can't stub or record calls for methods that take blocks. This is very

0 comments on commit 04380cd

Please sign in to comment.