From 24bef5e67a81c5edf9dacb65ecc091cac1f4c528 Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Mon, 11 May 2015 14:31:31 -0400 Subject: Handle password reset for users with 2FA enabled --- spec/features/login_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/features/login_spec.rb') diff --git a/spec/features/login_spec.rb b/spec/features/login_spec.rb index 61defb8a333..046a9f6191d 100644 --- a/spec/features/login_spec.rb +++ b/spec/features/login_spec.rb @@ -1,7 +1,7 @@ require 'spec_helper' feature 'Login' do - context 'with two-factor authentication' do + describe 'with two-factor authentication' do context 'with valid username/password' do let(:user) { create(:user, :two_factor) } @@ -78,7 +78,7 @@ feature 'Login' do end end - context 'without two-factor authentication' do + describe 'without two-factor authentication' do let(:user) { create(:user) } it 'allows basic login' do -- cgit v1.2.3