Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
ffb14821
Commit
ffb14821
authored
Oct 24, 2016
by
Bryce Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use proper tense and spacing in login_specs.
parent
5bc42660
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
spec/features/login_spec.rb
spec/features/login_spec.rb
+6
-4
No files found.
spec/features/login_spec.rb
View file @
ffb14821
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment