Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

add warning about change in behaviour of stub/mock combinations [#644…

… state:wontfix]
  • Loading branch information...
commit 124c00da12a699f58177ed53cc373de615801bfd 1 parent 3b1e09d
@dchelimsky dchelimsky authored
Showing with 12 additions and 0 deletions.
  1. +12 −0 History.txt
12 History.txt
@@ -1,5 +1,17 @@
=== Maintenance
+WARNING: there was a stub/mock bug in 1.1.11 that allowed a structure that was
+not intended:
+ obj.stub!(:msg)
+ obj.msg
+ obj.should_receive(:msg)
+That would pass in 1.1.11, but should not have been allowed to, since the
+message is received before the expectation is set. This was reported (#637)
+and fixed for release 1.1.12, but may cause unexpected failures if you had
+examples set up as above.
* 2 deprecations
* deprecated ExampleMethods#implementation_backtrace - use ExampleMethods#backtrace instead
Please sign in to comment.
Something went wrong with that request. Please try again.