Re: RSpec book help; why won''t this stub method work?

David Zhang
2011-06-23T18:41:15Z

That did it! Thanks - I didn''t know class methods required that.

Message.stub(:count).and_return(9)

--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To view this discussion on the web visit