Sha256: 081f5db41a38ddd6f33205c4908a5da9f51e331a359b197c5d86792bd3c66c84
Contents?: true
Size: 615 Bytes
Versions: 2
Compression:
Stored size: 615 Bytes
Contents
require 'test_helper' class Users::TrackableTest < ActionDispatch::IntegrationTest fixtures :all test "should track user" do current_sign_in_at = users(:julien).reload.current_sign_in_at sign_in users(:julien) refute_equal current_sign_in_at, users(:julien).reload.current_sign_in_at end test "remote authentication should not track user" do sign_in users(:julien) current_sign_in_at = users(:julien).reload.current_sign_in_at visit root_url(:host => 'test.host') click_link 'sign_in' assert_equal current_sign_in_at, users(:julien).reload.current_sign_in_at end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
janus-0.10.1 | test/integration/users/trackable_test.rb |
janus-0.10.0 | test/integration/users/trackable_test.rb |