-
-
Save cavalle/4aa21d7ba29977683dc4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "authlogic/test_case" | |
Spec::Runner.configure do |config| | |
config.include Authlogic::TestCase, :type => :acceptance | |
config.before(:each, :type => :acceptance) do | |
activate_authlogic | |
end | |
end |
Right, thanks evilgeenius. It is updated now
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had to do this in the latest release in acceptance_helper :
require "authlogic/test_case"
RSpec.configuration.include Authlogic::TestCase, :type => :acceptance
RSpec.configuration.before(:each) do
activate_authlogic
end