Put the setup :activate_authlogic class in your unit test class.
e.g.
http://rdoc.info/github/binarylogic/authlogic/master/Authlogic/TestCase
class ExampleControllerTest < ActionController::TestCase
setup :activate_authlogic
end
http://rdoc.info/github/binarylogic/authlogic/master/Authlogic/TestCase
No comments:
Post a Comment