diff options
Diffstat (limited to 'spec/frontend/fixtures/autocomplete_sources.rb')
-rw-r--r-- | spec/frontend/fixtures/autocomplete_sources.rb | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/spec/frontend/fixtures/autocomplete_sources.rb b/spec/frontend/fixtures/autocomplete_sources.rb index 74bf58cc106..2c28440ab0c 100644 --- a/spec/frontend/fixtures/autocomplete_sources.rb +++ b/spec/frontend/fixtures/autocomplete_sources.rb @@ -26,14 +26,16 @@ RSpec.describe Projects::AutocompleteSourcesController, '(JavaScript fixtures)', create(:label, project: project, title: 'P3') create(:label, project: project, title: 'P4') - get :labels, - format: :json, - params: { - namespace_id: group.path, - project_id: project.path, - type: issue.class.name, - type_id: issue.id - } + get( + :labels, + format: :json, + params: { + namespace_id: group.path, + project_id: project.path, + type: issue.class.name, + type_id: issue.id + } + ) expect(response).to be_successful end |