Displaying 1 result from an estimated 1 matches for "user_session_create".
2010 Nov 15
0
Problem testing Authlogic UserSession
...hentic do |config|
config.login_field :email
config.ignore_blank_passwords false
config.disable_perishable_token_maintenance true
end
end
user_session.rb
class UserSession < Authlogic::Session::Base
end
user_sessions_controller_spec.rb
require ''spec_helper''
def user_session_create
@user = Factory.create(:user)
@user_session = UserSession.create(:email => @user.email, :password =>
@user.password)
end
describe UserSessionsController do
before(:each) do
:activate_authlogic
end
describe "create a user session" do
it "creates a user sessio...