Sha256: 1f131edf96e9a8f83d94166cd63e1f867787d83fdc64c2fb133d74075948ac54

Contents?: true

Size: 389 Bytes

Versions: 11

Compression:

Stored size: 389 Bytes

Contents

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

class SessionValidationTest < ActiveSupport::TestCase

  must "unvalidated session creation fails" do
    session = UserSession.new
    assert_false session.save
  end 

  
  must "validate valid_rpx_auth_user_one" do
    session = UserSession.create(users(:valid_rpx_auth_user_one), true )
    assert_true session.valid?
  end 
 
end

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
Empact-authlogic_rpx-2.0.0 test/unit/session_validation_test.rb
slayer-authlogic_rpx-1.2.2 test/unit/session_validation_test.rb
slayer-authlogic_rpx-1.2.1 test/unit/session_validation_test.rb
authlogic_rpx-1.2.0 test/unit/session_validation_test.rb
Empact-authlogic_rpx-1.1.8 test/unit/session_validation_test.rb
Empact-authlogic_rpx-1.1.7 test/unit/session_validation_test.rb
Empact-authlogic_rpx-1.1.6 test/unit/session_validation_test.rb
Empact-authlogic_rpx-1.1.5 test/unit/session_validation_test.rb
Empact-authlogic_rpx-1.1.4 test/unit/session_validation_test.rb
Empact-authlogic_rpx-1.1.3 test/unit/session_validation_test.rb
Empact-authlogic_rpx-1.1.2 test/unit/session_validation_test.rb