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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
5351071b
Commit
5351071b
authored
May 02, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix rubocop
parent
380994e5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
app/helpers/form_helper.rb
app/helpers/form_helper.rb
+1
-1
spec/helpers/issuables_helper_spec.rb
spec/helpers/issuables_helper_spec.rb
+0
-1
No files found.
app/helpers/form_helper.rb
View file @
5351071b
...
...
@@ -24,7 +24,7 @@ module FormHelper
dropdown_class:
'dropdown-menu-user dropdown-menu-selectable dropdown-menu-assignee'
,
placeholder:
'Search users'
,
data:
{
first_user:
(
current_user
.
username
if
current_user
)
,
first_user:
current_user
&
.
username
,
null_user:
true
,
current_user:
true
,
project_id:
issuable
.
project
.
try
(
:id
),
...
...
spec/helpers/issuables_helper_spec.rb
View file @
5351071b
...
...
@@ -17,7 +17,6 @@ describe IssuablesHelper do
end
it
'returns selected user\'s name and counter'
do
expect
(
users_dropdown_label
([
user
,
user2
])).
to
eq
(
"
#{
user
.
name
}
+ 1 more"
)
end
end
...
...
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