summaryrefslogtreecommitdiff
path: root/spec/benchmarks
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2015-11-19 16:02:21 +0100
committerYorick Peterse <yorickpeterse@gmail.com>2015-11-19 16:02:21 +0100
commit094e1cc01b4f98ea4b8cd664344f3b8b583af471 (patch)
tree8516c01969ad93afa93e8dd1942a98d9127d53f5 /spec/benchmarks
parent901d3dee0fdd0f67b429dd3741fe047f69e96d4a (diff)
downloadgitlab-ce-094e1cc01b4f98ea4b8cd664344f3b8b583af471.tar.gz
Align hash literals in IssuesFinder specfinding-issues-by-labels-performance
Diffstat (limited to 'spec/benchmarks')
-rw-r--r--spec/benchmarks/finders/issues_finder_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/benchmarks/finders/issues_finder_spec.rb b/spec/benchmarks/finders/issues_finder_spec.rb
index c233fa82cf2..b57a33004a4 100644
--- a/spec/benchmarks/finders/issues_finder_spec.rb
+++ b/spec/benchmarks/finders/issues_finder_spec.rb
@@ -22,7 +22,7 @@ describe IssuesFinder, benchmark: true do
describe 'retrieving issues without labels' do
let(:finder) do
IssuesFinder.new(user, scope: 'all', label_name: Label::None.title,
- state: 'opened')
+ state: 'opened')
end
benchmark_subject { finder.execute }
@@ -33,7 +33,7 @@ describe IssuesFinder, benchmark: true do
describe 'retrieving issues with labels' do
let(:finder) do
IssuesFinder.new(user, scope: 'all', label_name: label1.title,
- state: 'opened')
+ state: 'opened')
end
benchmark_subject { finder.execute }
@@ -44,7 +44,7 @@ describe IssuesFinder, benchmark: true do
describe 'retrieving issues for a single project' do
let(:finder) do
IssuesFinder.new(user, scope: 'all', label_name: Label::None.title,
- state: 'opened', project_id: project.id)
+ state: 'opened', project_id: project.id)
end
benchmark_subject { finder.execute }