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
72cddf5a
Commit
72cddf5a
authored
Jul 15, 2019
by
Małgorzata Ksionek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test stage specs
parent
beaa6353
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/lib/gitlab/cycle_analytics/test_stage_spec.rb
spec/lib/gitlab/cycle_analytics/test_stage_spec.rb
+2
-2
No files found.
spec/lib/gitlab/cycle_analytics/test_stage_spec.rb
View file @
72cddf5a
...
...
@@ -4,7 +4,7 @@ require 'lib/gitlab/cycle_analytics/shared_stage_spec'
describe
Gitlab
::
CycleAnalytics
::
TestStage
do
let
(
:stage_name
)
{
:test
}
let
(
:project
)
{
create
(
:project
)
}
let
(
:stage
)
{
described_class
.
new
(
project:
project
,
options:
{
from:
2
.
days
.
ago
,
current_user:
project
.
creator
})
}
let
(
:stage
)
{
described_class
.
new
(
options:
{
from:
2
.
days
.
ago
,
current_user:
project
.
creator
,
project:
project
})
}
it_behaves_like
'base stage'
...
...
@@ -36,7 +36,7 @@ describe Gitlab::CycleAnalytics::TestStage do
end
it
'counts median from issues with metrics'
do
expect
(
stage
.
median
).
to
eq
(
ISSUES_MEDIAN
)
expect
(
stage
.
project_
median
).
to
eq
(
ISSUES_MEDIAN
)
end
end
end
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