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
eec77c06
Commit
eec77c06
authored
Aug 25, 2020
by
Sean Arnold
Committed by
Mark Chao
Aug 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Aim to increase spec speed by caching factories
parent
1f84a0b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
spec/features/cycle_analytics_spec.rb
spec/features/cycle_analytics_spec.rb
+6
-4
No files found.
spec/features/cycle_analytics_spec.rb
View file @
eec77c06
...
...
@@ -3,9 +3,9 @@
require
'spec_helper'
RSpec
.
describe
'Value Stream Analytics'
,
:js
do
let
(
:user
)
{
create
(
:user
)
}
let
(
:guest
)
{
create
(
:user
)
}
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
_it_be
(
:user
)
{
create
(
:user
)
}
let
_it_be
(
:guest
)
{
create
(
:user
)
}
let
_it_be
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:issue
)
{
create
(
:issue
,
project:
project
,
created_at:
2
.
days
.
ago
)
}
let
(
:milestone
)
{
create
(
:milestone
,
project:
project
)
}
let
(
:mr
)
{
create_merge_request_closing_issue
(
user
,
project
,
issue
,
commit_message:
"References
#{
issue
.
to_reference
}
"
)
}
...
...
@@ -13,9 +13,11 @@ RSpec.describe 'Value Stream Analytics', :js do
context
'as an allowed user'
do
context
'when project is new'
do
before
do
before
(
:all
)
do
project
.
add_maintainer
(
user
)
end
before
do
sign_in
(
user
)
visit
project_cycle_analytics_path
(
project
)
...
...
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