Displaying 1 result from an estimated 1 matches for "hogwort".
Did you mean:
hogworts
2010 Nov 15
0
Problem testing Authlogic UserSession
...se"
and include Authlogic::TestCase)
The create a user session test is ok but the find a user session test is
failing with
Failures:
1) UserSessionsController find a user session locates the user session
Failure/Error: us.email.should == @user.email
expected: "ron2.weasley2 at hogworts.com",
got: nil (using ==)
When I try this using console, I get the following
ruby-1.8.7-p302 > require "authlogic/test_case"
=> true
ruby-1.8.7-p302 > include Authlogic::TestCase
=> Object
ruby-1.8.7-p302 >ron = User.first
ruby-1.8.7-p302 > activate_...