Sha256: e6469122a5d27e9d905f5025f89a8feb804b70301418a625d7b0c4aa6e9dc354

Contents?: true

Size: 354 Bytes

Versions: 3

Compression:

Stored size: 354 Bytes

Contents

require "test_helper"

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

3 entries across 3 versions & 1 rubygems

Version Path
authlogic-4.2.0 test/session_test/id_test.rb
authlogic-4.1.1 test/session_test/id_test.rb
authlogic-4.1.0 test/session_test/id_test.rb