diff options
author | Alexis Reigel <mail@koffeinfrei.org> | 2017-03-14 14:34:21 +0100 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2017-04-06 10:01:14 +0200 |
commit | 1735ed613910b38c4c069da9c4637bbc4856db36 (patch) | |
tree | 7c7982af2bd8777bc919bef331edc9a0a1513eec /spec/models | |
parent | 20575859b1bf431421427d52c4ac5a33cf662df6 (diff) | |
download | gitlab-ce-1735ed613910b38c4c069da9c4637bbc4856db36.tar.gz |
rename cache db column with `_cached` suffix
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/user_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index ddd438bfc25..3977af55176 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -1548,7 +1548,7 @@ describe User, models: true do end it 'requires 2FA' do - expect(user.require_two_factor_authentication).to be true + expect(user.require_two_factor_authentication_from_group).to be true end it 'uses the shortest grace period' do @@ -1567,7 +1567,7 @@ describe User, models: true do end it 'requires 2FA' do - expect(user.require_two_factor_authentication).to be true + expect(user.require_two_factor_authentication_from_group).to be true end end @@ -1582,7 +1582,7 @@ describe User, models: true do end it 'requires 2FA' do - expect(user.require_two_factor_authentication).to be true + expect(user.require_two_factor_authentication_from_group).to be true end end @@ -1596,7 +1596,7 @@ describe User, models: true do end it 'does not require 2FA' do - expect(user.require_two_factor_authentication).to be false + expect(user.require_two_factor_authentication_from_group).to be false end it 'falls back to the default grace period' do |