summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2017-05-26 17:38:57 -0500
committerClement Ho <ClemMakesApps@gmail.com>2017-05-26 17:38:57 -0500
commit1717fca897a16d0f4422b49d87a24d53aac034f0 (patch)
treec99d61c8a1a0eab2db3bd3dd7e1990f156a08344
parent7997bbbfef61b65be5548582dc6b50db52ddce55 (diff)
downloadgitlab-ce-1717fca897a16d0f4422b49d87a24d53aac034f0.tar.gz
-rw-r--r--spec/features/issues/form_spec.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/features/issues/form_spec.rb b/spec/features/issues/form_spec.rb
index 32478155720..8949dbcb663 100644
--- a/spec/features/issues/form_spec.rb
+++ b/spec/features/issues/form_spec.rb
@@ -27,7 +27,6 @@ describe 'New/edit issue', :feature, :js do
describe 'shorten users API pagination limit' do
before do
allow_any_instance_of(FormHelper).to receive(:issue_dropdown_options).and_wrap_original do |original, *args|
- issuable = *args[0]
has_multiple_assignees = *args[1]
options = {
@@ -47,11 +46,10 @@ describe 'New/edit issue', :feature, :js do
'dropdown-header': 'Assignee',
multi_select: true,
'input-meta': 'name',
- 'always-show-selectbox': true,
+ 'always-show-selectbox': true
}
}
-
if has_multiple_assignees
options[:title] = 'Select assignee(s)'
options[:data][:'dropdown-header'] = 'Assignee(s)'