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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
75dca155
Commit
75dca155
authored
Aug 22, 2017
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix incorrect `let` in pipeline metrics worker specs
parent
c29247aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
spec/workers/pipeline_metrics_worker_spec.rb
spec/workers/pipeline_metrics_worker_spec.rb
+8
-1
No files found.
spec/workers/pipeline_metrics_worker_spec.rb
View file @
75dca155
...
...
@@ -2,7 +2,12 @@ require 'spec_helper'
describe
PipelineMetricsWorker
do
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let!
(
:merge_request
)
{
create
(
:merge_request
,
source_project:
project
,
source_branch:
pipeline
.
ref
,
head_pipeline:
pipeline
)
}
let!
(
:merge_request
)
do
create
(
:merge_request
,
source_project:
project
,
source_branch:
pipeline
.
ref
,
head_pipeline:
pipeline
)
end
let
(
:pipeline
)
do
create
(
:ci_empty_pipeline
,
...
...
@@ -14,6 +19,8 @@ describe PipelineMetricsWorker do
finished_at:
Time
.
now
)
end
let
(
:status
)
{
'pending'
}
describe
'#perform'
do
before
do
described_class
.
new
.
perform
(
pipeline
.
id
)
...
...
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