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
552772a4
Commit
552772a4
authored
May 26, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix rubocop
parent
64ccd184
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
spec/features/issues/form_spec.rb
spec/features/issues/form_spec.rb
+1
-3
No files found.
spec/features/issues/form_spec.rb
View file @
552772a4
...
@@ -27,7 +27,6 @@ describe 'New/edit issue', :feature, :js do
...
@@ -27,7 +27,6 @@ describe 'New/edit issue', :feature, :js do
describe
'shorten users API pagination limit'
do
describe
'shorten users API pagination limit'
do
before
do
before
do
allow_any_instance_of
(
FormHelper
).
to
receive
(
:issue_dropdown_options
).
and_wrap_original
do
|
original
,
*
args
|
allow_any_instance_of
(
FormHelper
).
to
receive
(
:issue_dropdown_options
).
and_wrap_original
do
|
original
,
*
args
|
issuable
=
*
args
[
0
]
has_multiple_assignees
=
*
args
[
1
]
has_multiple_assignees
=
*
args
[
1
]
options
=
{
options
=
{
...
@@ -47,11 +46,10 @@ describe 'New/edit issue', :feature, :js do
...
@@ -47,11 +46,10 @@ describe 'New/edit issue', :feature, :js do
'dropdown-header'
:
'Assignee'
,
'dropdown-header'
:
'Assignee'
,
multi_select:
true
,
multi_select:
true
,
'input-meta'
:
'name'
,
'input-meta'
:
'name'
,
'always-show-selectbox'
:
true
,
'always-show-selectbox'
:
true
}
}
}
}
if
has_multiple_assignees
if
has_multiple_assignees
options
[
:title
]
=
'Select assignee(s)'
options
[
:title
]
=
'Select assignee(s)'
options
[
:data
][
:'dropdown-header'
]
=
'Assignee(s)'
options
[
:data
][
:'dropdown-header'
]
=
'Assignee(s)'
...
...
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