summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce Johnson <bryce@gitlab.com>2016-10-24 17:53:32 +0200
committerBryce Johnson <bryce@gitlab.com>2016-10-24 17:58:19 +0200
commitffb1482193e4c60e7c5915e28917b0e58963b017 (patch)
treeb17365daf0ff45e4ddba4b29c71085a3b915bb93
parent5bc42660ef7f85ff7d7c56f93b5ec4cfaca0aff9 (diff)
downloadgitlab-ce-register-tab.tar.gz
Use proper tense and spacing in login_specs.register-tab
-rw-r--r--spec/features/login_spec.rb10
1 files changed, 6 insertions, 4 deletions
diff --git a/spec/features/login_spec.rb b/spec/features/login_spec.rb
index e91667f096d..a3e1ca923ef 100644
--- a/spec/features/login_spec.rb
+++ b/spec/features/login_spec.rb
@@ -218,7 +218,7 @@ feature 'Login', feature: true do
describe 'UI tabs and panes' do
context 'when no defaults are changed' do
- it 'should correctly render tabs and panes' do
+ it 'correctly renders tabs and panes' do
ensure_tab_pane_correctness
end
end
@@ -227,7 +227,8 @@ feature 'Login', feature: true do
before do
stub_application_setting(signup_enabled: false)
end
- it 'should correctly render tabs and panes' do
+
+ it 'correctly renders tabs and panes' do
ensure_tab_pane_correctness
end
end
@@ -239,7 +240,7 @@ feature 'Login', feature: true do
allow(page).to receive(:ldap_enabled).and_return(true)
end
- it 'should correctly render tabs and panes' do
+ it 'correctly renders tabs and panes' do
ensure_tab_pane_correctness(false)
end
end
@@ -251,7 +252,7 @@ feature 'Login', feature: true do
allow(page).to receive(:crowd_enabled?).and_return(true)
end
- it 'tabs and panes should be configured correctly' do
+ it 'correctly renders tabs and panes' do
ensure_tab_pane_correctness(false)
end
end
@@ -260,6 +261,7 @@ feature 'Login', feature: true do
if visit_path
visit new_user_session_path
end
+
ensure_tab_pane_counts
ensure_one_active_tab
ensure_one_active_pane