Sha256: 28c7317573db60a6f001f9816299d1b8f52b4cf82ca3430d7d18f0a030118c99

Contents?: true

Size: 373 Bytes

Versions: 20

Compression:

Stored size: 373 Bytes

Contents

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

module SessionTests
  class ActiveRecordTrickeryTest < ActiveSupport::TestCase
    def test_human_attribute_name
      assert_equal "Some attribute", UserSession.human_attribute_name("some_attribute")
    end
  
    def test_new_record
      session = UserSession.new
      assert session.new_record?
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
authlogic-1.2.2 test/session_tests/active_record_trickery_test.rb
authlogic-1.1.0 test/session_tests/active_record_trickery_test.rb
authlogic-1.3.0 test/session_tests/active_record_trickery_test.rb
authlogic-1.3.1 test/session_tests/active_record_trickery_test.rb
authlogic-1.3.2 test/session_tests/active_record_trickery_test.rb
authlogic-1.2.1 test/session_tests/active_record_trickery_test.rb
authlogic-1.1.2 test/session_tests/active_record_trickery_test.rb
authlogic-1.1.1 test/session_tests/active_record_trickery_test.rb
authlogic-1.2.0 test/session_tests/active_record_trickery_test.rb
authlogic-1.3.6 test/session_tests/active_record_trickery_test.rb
authlogic-1.3.3 test/session_tests/active_record_trickery_test.rb
authlogic-1.3.4 test/session_tests/active_record_trickery_test.rb
authlogic-1.3.5 test/session_tests/active_record_trickery_test.rb
authlogic-1.3.7 test/session_tests/active_record_trickery_test.rb
authlogic-1.3.8 test/session_tests/active_record_trickery_test.rb
authlogic-1.4.0 test/session_tests/active_record_trickery_test.rb
authlogic-1.3.9 test/session_tests/active_record_trickery_test.rb
authlogic-1.4.1 test/session_tests/active_record_trickery_test.rb
authlogic-1.4.3 test/session_tests/active_record_trickery_test.rb
authlogic-1.4.2 test/session_tests/active_record_trickery_test.rb