Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-05-11 21:31:31 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-05-11 21:31:31 +0300
commit24bef5e67a81c5edf9dacb65ecc091cac1f4c528 (patch)
treee915aa8c1bc0ff6e735a0d510c107ed0e126ef55 /spec/features/login_spec.rb
parent19b897e998d4b376390a3e0c12ccac4d1e92597d (diff)
Handle password reset for users with 2FA enabled
Diffstat (limited to 'spec/features/login_spec.rb')
-rw-r--r--spec/features/login_spec.rb4
1 files changed, 2 insertions, 2 deletions
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