Sha256: 0deb7a8da4ce0fbed7fdf991b7da9c1e5283b0d8c57bab5f786765498de19da8

Contents?: true

Size: 391 Bytes

Versions: 50

Compression:

Stored size: 391 Bytes

Contents

require File.dirname(__FILE__) + '/../test_helper.rb'

module SessionTest
  class IdTest < ActiveSupport::TestCase
    def test_credentials
      session = UserSession.new
      session.credentials = [:my_id]
      assert_equal :my_id, session.id
    end
      
    def test_id
      session = UserSession.new
      session.id = :my_id
      assert_equal :my_id, session.id
    end
  end
end

Version data entries

50 entries across 50 versions & 15 rubygems

Version Path
authlogic-2.1.11 test/session_test/id_test.rb
authlogic-2.1.10 test/session_test/id_test.rb
binarylogic-authlogic-2.1.0 test/session_test/id_test.rb
binarylogic-authlogic-2.1.1 test/session_test/id_test.rb
crankharder-authlogic-2.1.1 test/session_test/id_test.rb
jlecour-authlogic-2.1.2 test/session_test/id_test.rb
kschrader-authlogic-2.1.2 test/session_test/id_test.rb
kschrader-authlogic-2.1.3 test/session_test/id_test.rb
authlogic-2.1.8 test/session_test/id_test.rb
authlogic-2.1.7 test/session_test/id_test.rb
expertiza-authlogic-2.1.6.1 test/session_test/id_test.rb
wulffeld_authlogic-2.1.3 test/session_test/id_test.rb
authlogic-2.1.6 test/session_test/id_test.rb
lockbox_middleware-1.2.1 vendor/gems/authlogic-2.1.3/test/session_test/id_test.rb
Empact-authlogic-2.1.5 test/session_test/id_test.rb
authlogic-2.1.5 test/session_test/id_test.rb
authlogic-2.1.4 test/session_test/id_test.rb
Empact-authlogic-2.1.4 test/session_test/id_test.rb
namxam-authlogic-2.1.3.1 test/session_test/id_test.rb
drogus-authlogic-2.1.3 test/session_test/id_test.rb