Commit ffb14821 authored by Bryce Johnson's avatar Bryce Johnson

Use proper tense and spacing in login_specs.

parent 5bc42660
...@@ -218,7 +218,7 @@ feature 'Login', feature: true do ...@@ -218,7 +218,7 @@ feature 'Login', feature: true do
describe 'UI tabs and panes' do describe 'UI tabs and panes' do
context 'when no defaults are changed' 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 ensure_tab_pane_correctness
end end
end end
...@@ -227,7 +227,8 @@ feature 'Login', feature: true do ...@@ -227,7 +227,8 @@ feature 'Login', feature: true do
before do before do
stub_application_setting(signup_enabled: false) stub_application_setting(signup_enabled: false)
end end
it 'should correctly render tabs and panes' do
it 'correctly renders tabs and panes' do
ensure_tab_pane_correctness ensure_tab_pane_correctness
end end
end end
...@@ -239,7 +240,7 @@ feature 'Login', feature: true do ...@@ -239,7 +240,7 @@ feature 'Login', feature: true do
allow(page).to receive(:ldap_enabled).and_return(true) allow(page).to receive(:ldap_enabled).and_return(true)
end end
it 'should correctly render tabs and panes' do it 'correctly renders tabs and panes' do
ensure_tab_pane_correctness(false) ensure_tab_pane_correctness(false)
end end
end end
...@@ -251,7 +252,7 @@ feature 'Login', feature: true do ...@@ -251,7 +252,7 @@ feature 'Login', feature: true do
allow(page).to receive(:crowd_enabled?).and_return(true) allow(page).to receive(:crowd_enabled?).and_return(true)
end end
it 'tabs and panes should be configured correctly' do it 'correctly renders tabs and panes' do
ensure_tab_pane_correctness(false) ensure_tab_pane_correctness(false)
end end
end end
...@@ -260,6 +261,7 @@ feature 'Login', feature: true do ...@@ -260,6 +261,7 @@ feature 'Login', feature: true do
if visit_path if visit_path
visit new_user_session_path visit new_user_session_path
end end
ensure_tab_pane_counts ensure_tab_pane_counts
ensure_one_active_tab ensure_one_active_tab
ensure_one_active_pane ensure_one_active_pane
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment