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. > > Pat
Ahh, thanks. That fixed things. Most disconcerting to have ones tests pass and the application die. -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users