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.0.0 test/session_test/id_test.rb
authlogic-2.0.8 test/session_test/id_test.rb
authlogic-2.0.6 test/session_test/id_test.rb
authlogic-2.0.5 test/session_test/id_test.rb
authlogic-2.0.4 test/session_test/id_test.rb
authlogic-2.0.3 test/session_test/id_test.rb
authlogic-2.0.2 test/session_test/id_test.rb
authlogic-2.0.14 test/session_test/id_test.rb
authlogic-2.0.7 test/session_test/id_test.rb
authlogic-2.0.9 test/session_test/id_test.rb