Sha256: 24703414c2f708b9e33d62ffd28d674742f83d1ab106ac846f5f439051520ac0

Contents?: true

Size: 616 Bytes

Versions: 1

Compression:

Stored size: 616 Bytes

Contents

require 'test_helper'

class UserSessionConfigTest < ActionController::IntegrationTest
=begin
  def test_authenticate_with
    UserSession.authenticate_with = Account
    assert_equal Account, UserSession.authenticate_with
    
    UserSession.authenticate_with User
    assert_equal User, UserSession.authenticate_with
  end
  
  def test_login_field
    UserSession.login_field = :email
    assert :email, UserSession.login_field
    
    UserSession.login_field :email2
    assert :email2, UserSession.login_field
    
    UserSession.login_field = :login
    assert :login, UserSession.login_field
  end
=end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
authlogic-0.10.4 test_app/test/integration/user_session_config_test.rb