Rails 3 and AuthLogic NameError: undefined local variable or method `activate_authlogic' for

This post is a reminder to myself mostly. If you’re getting the following error when using Ruby on Rails 3 with AuthLogic: NameError: undefined local variable or method `activate_authlogic’ for Then you need to edit your test_helper.rb to include AuthLogic: require ‘authlogic/test_case’ class ActiveSupport::TestCase # … include Authlogic::TestCase # … end