mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
13 lines
354 B
Ruby
13 lines
354 B
Ruby
require 'test_helper'
|
|
|
|
class TrackableTest < ActiveSupport::TestCase
|
|
test 'required_fields should contain the fields that Devise uses' do
|
|
assert_same_content Devise::Models::Trackable.required_fields(User), [
|
|
:current_sign_in_at,
|
|
:current_sign_in_ip,
|
|
:last_sign_in_at,
|
|
:last_sign_in_ip,
|
|
:sign_in_count
|
|
]
|
|
end
|
|
end
|