Possible reason for Ruby on Rails tests failing

If some of your Ruby on Rails tests are failing with method not found errors, it could be because Ruby cannot find the class that has this method. For example the methods might be in some of the mock classes. To fix this I did.

$ ruby -Itest/mocks/test test/functional/user_controller_test.rb

One thought on “Possible reason for Ruby on Rails tests failing

  1. Pingback: Nietzsche Buddhism » Ruby on Rails - login generators

Leave a Reply

Your email address will not be published. Required fields are marked *