[rspec-users] [cucumber] Tests pass, application does not.
lists at ruby-forum.com
Thu Apr 9 13:44:21 EDT 2009
Pat Maddox wrote:
> I just did a github search and the only place I found method_exists?
> referenced was in mocha. So my guess is that in test mode, mocha is
> being loaded and so it's passing for you. Try using respond_to?
> instead of method_exists? I've never even heard of method_exists?
> until just now.
Ahh, thanks. That fixed things. Most disconcerting to have ones tests
pass and the application die.
Posted via http://www.ruby-forum.com/.
More information about the rspec-users