summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorPadilla, Gerald <gpadilla@agssa.net>2017-01-28 20:22:13 -0600
committerPadilla, Gerald <gpadilla@agssa.net>2017-01-30 20:05:04 -0600
commit685d67cc3f9c1e68af5d66c6e792e38e567b3288 (patch)
treeb916500a85ce7db345fee66ee13f19d8908c316a /spec
parentadc0e41f2b0e2a8fa15877246738029666716dc2 (diff)
downloadgitlab-ce-685d67cc3f9c1e68af5d66c6e792e38e567b3288.tar.gz
Remove flash warning from login page
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