Permalink
Browse files

Add note to README about RSpec `stub_chain` bug.

  • Loading branch information...
1 parent 58ae0e4 commit 138c328a587472f8379704dff17888f173769e9c @moonmaster9000 committed Sep 5, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 readme.markdown
View
@@ -330,6 +330,8 @@ describe HtmlTimestampFrill do
end
```
+Note (2012/09/05): because of a subtle bug in RSpec, the above stub chain `stub_chain(:request, :format, :html?)` fails on the latest RSpec release (2.11.0) but is fixed in master. See issue [#587](https://github.com/rspec/rspec-rails/issues/587) and the [commit that fixes it](https://github.com/rspec/rspec-mocks/commit/05741e90083280c1b9e069350d7e3afbf4a45456).
+
Since frills are just modules, it's possible to test your frills in relative isolation.
```ruby

0 comments on commit 138c328

Please sign in to comment.