Commit 552772a4 authored by Clement Ho's avatar Clement Ho

Fix rubocop

parent 64ccd184
...@@ -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)'
......
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