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
Léo-Paul Géneau
gitlab-ce
Commits
c0d1d461
Commit
c0d1d461
authored
Aug 14, 2018
by
Jan Beckmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix rubocop offense
parent
50a23178
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/helpers/icons_helper_spec.rb
spec/helpers/icons_helper_spec.rb
+2
-2
No files found.
spec/helpers/icons_helper_spec.rb
View file @
c0d1d461
...
@@ -85,12 +85,12 @@ describe IconsHelper do
...
@@ -85,12 +85,12 @@ describe IconsHelper do
icon_name
=
'standard'
icon_name
=
'standard'
expect
(
audit_icon
(
icon_name
).
to_s
)
expect
(
audit_icon
(
icon_name
).
to_s
)
.
to
eq
'<i class="fa fa-key"></i>'
.
to
eq
'<i class="fa fa-key"></i>'
end
end
it
'returns right icon name for two-factor auth'
do
it
'returns right icon name for two-factor auth'
do
icon_name
=
'two-factor'
icon_name
=
'two-factor'
expect
(
audit_icon
(
icon_name
).
to_s
)
expect
(
audit_icon
(
icon_name
).
to_s
)
.
to
eq
'<i class="fa fa-key"></i>'
.
to
eq
'<i class="fa fa-key"></i>'
end
end
it
'returns right icon name for google_oauth2 auth'
do
it
'returns right icon name for google_oauth2 auth'
do
...
...
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