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