Commit 094e1cc0 authored by Yorick Peterse's avatar Yorick Peterse

Align hash literals in IssuesFinder spec

parent 901d3dee
...@@ -22,7 +22,7 @@ describe IssuesFinder, benchmark: true do ...@@ -22,7 +22,7 @@ describe IssuesFinder, benchmark: true do
describe 'retrieving issues without labels' do describe 'retrieving issues without labels' do
let(:finder) do let(:finder) do
IssuesFinder.new(user, scope: 'all', label_name: Label::None.title, IssuesFinder.new(user, scope: 'all', label_name: Label::None.title,
state: 'opened') state: 'opened')
end end
benchmark_subject { finder.execute } benchmark_subject { finder.execute }
...@@ -33,7 +33,7 @@ describe IssuesFinder, benchmark: true do ...@@ -33,7 +33,7 @@ describe IssuesFinder, benchmark: true do
describe 'retrieving issues with labels' do describe 'retrieving issues with labels' do
let(:finder) do let(:finder) do
IssuesFinder.new(user, scope: 'all', label_name: label1.title, IssuesFinder.new(user, scope: 'all', label_name: label1.title,
state: 'opened') state: 'opened')
end end
benchmark_subject { finder.execute } benchmark_subject { finder.execute }
...@@ -44,7 +44,7 @@ describe IssuesFinder, benchmark: true do ...@@ -44,7 +44,7 @@ describe IssuesFinder, benchmark: true do
describe 'retrieving issues for a single project' do describe 'retrieving issues for a single project' do
let(:finder) do let(:finder) do
IssuesFinder.new(user, scope: 'all', label_name: Label::None.title, IssuesFinder.new(user, scope: 'all', label_name: Label::None.title,
state: 'opened', project_id: project.id) state: 'opened', project_id: project.id)
end end
benchmark_subject { finder.execute } benchmark_subject { finder.execute }
......
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