summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-01-31 09:36:46 +0000
committerRémy Coutable <remy@rymai.me>2017-01-31 09:36:46 +0000
commitc9203e25d214487b2b7ccc0e85af32e418a84bcb (patch)
tree958bfccfeb21933e8785b8adda5f970204b9df4a /spec
parentfef6f52b818910a44fac28ee4673d6b880b7263a (diff)
parent685d67cc3f9c1e68af5d66c6e792e38e567b3288 (diff)
downloadgitlab-ce-c9203e25d214487b2b7ccc0e85af32e418a84bcb.tar.gz
Merge branch 'remove-warning-to-login' into 'master'
Remove flash warning from login page See merge request !8864
Diffstat (limited to 'spec')
-rw-r--r--spec/features/login_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/features/login_spec.rb b/spec/features/login_spec.rb
index 76bcfbe523a..ab7d89306db 100644
--- a/spec/features/login_spec.rb
+++ b/spec/features/login_spec.rb
@@ -25,6 +25,11 @@ feature 'Login', feature: true do
expect(current_path).to eq root_path
end
+
+ it 'does not show flash messages when login page' do
+ visit root_path
+ expect(page).not_to have_content('You need to sign in or sign up before continuing.')
+ end
end
describe 'with two-factor authentication' do