diff options
author | Markus Koller <markus-koller@gmx.ch> | 2017-03-07 21:48:57 +0300 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2017-04-06 11:01:13 +0300 |
commit | 8e665140565a8c022bf1cad1589e244a543419fa (patch) | |
tree | d8bcdf4939b9fdcd1cc68ef98c1579575d0185a9 /spec/controllers/application_controller_spec.rb | |
parent | 7140e09e39895d747bca7238a5c9f5a4d4637a85 (diff) |
Rename check_2fa_requirement to check_two_factor_requirement
Diffstat (limited to 'spec/controllers/application_controller_spec.rb')
-rw-r--r-- | spec/controllers/application_controller_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/application_controller_spec.rb b/spec/controllers/application_controller_spec.rb index 64cfb87da5d..004cbba3398 100644 --- a/spec/controllers/application_controller_spec.rb +++ b/spec/controllers/application_controller_spec.rb @@ -117,8 +117,8 @@ describe ApplicationController do context 'two-factor authentication' do let(:controller) { ApplicationController.new } - describe '#check_2fa_requirement' do - subject { controller.send :check_2fa_requirement } + describe '#check_two_factor_requirement' do + subject { controller.send :check_two_factor_requirement } it 'does not redirect if 2FA is not required' do allow(controller).to receive(:two_factor_authentication_required?).and_return(false) |