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
novelys_authlogic-2.1.6 test/session_test/id_test.rb
novelys_authlogic-2.1.5 test/session_test/id_test.rb
novelys_authlogic-2.1.4 test/session_test/id_test.rb
novelys_authlogic-2.1.3 test/session_test/id_test.rb
ginst-2009.12.8 vendor/plugins/authlogic/test/session_test/id_test.rb
skippy-authlogic-2.1.3 test/session_test/id_test.rb
ginst-2009.11.24 vendor/plugins/authlogic/test/session_test/id_test.rb
ginst-2009.11.23 vendor/plugins/authlogic/test/session_test/id_test.rb
a_b-0.1.1 vendor/authlogic/test/session_test/id_test.rb
a_b-0.1.0 vendor/authlogic/test/session_test/id_test.rb
authlogic-2.1.3 test/session_test/id_test.rb
ginst-2.0.1 vendor/plugins/authlogic/test/session_test/id_test.rb
ginst-2.0.0 vendor/plugins/authlogic/test/session_test/id_test.rb
authlogic-2.1.2 test/session_test/id_test.rb
authlogic-2.1.0 test/session_test/id_test.rb
authlogic-2.1.1 test/session_test/id_test.rb
authlogic-2.0.11 test/session_test/id_test.rb
authlogic-2.0.1 test/session_test/id_test.rb
authlogic-2.0.13 test/session_test/id_test.rb
authlogic-2.0.12 test/session_test/id_test.rb