Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
094e1cc0
Commit
094e1cc0
authored
Nov 19, 2015
by
Yorick Peterse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Align hash literals in IssuesFinder spec
parent
901d3dee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/benchmarks/finders/issues_finder_spec.rb
spec/benchmarks/finders/issues_finder_spec.rb
+3
-3
No files found.
spec/benchmarks/finders/issues_finder_spec.rb
View file @
094e1cc0
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment