[rspec-users] unexpected failures with --reverse

J.D. Hollis cowboysolitude at gmail.com
Thu May 3 13:29:42 EDT 2007

Actually, nevermind. Figured it out. It seems that ActiveRecord is
lazy in creating readers for model attributes, waiting until the
attribute is accessed, so the mocking framework had no way to alias
:date because it didn't exist as a method yet. Adding '@bill.date' to
the before block seems to have resolved the issue.

More information about the rspec-users mailing list