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
98af4d86
Commit
98af4d86
authored
Oct 06, 2020
by
Peter Leitzen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Speed up CI trace lib specs
parent
fdc120ce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
spec/lib/gitlab/ci/trace_spec.rb
spec/lib/gitlab/ci/trace_spec.rb
+3
-2
No files found.
spec/lib/gitlab/ci/trace_spec.rb
View file @
98af4d86
...
...
@@ -2,8 +2,9 @@
require
'spec_helper'
RSpec
.
describe
Gitlab
::
Ci
::
Trace
,
:clean_gitlab_redis_shared_state
do
let
(
:build
)
{
create
(
:ci_build
)
}
RSpec
.
describe
Gitlab
::
Ci
::
Trace
,
:clean_gitlab_redis_shared_state
,
factory_default: :keep
do
let_it_be
(
:project
)
{
create_default
(
:project
)
}
let_it_be_with_reload
(
:build
)
{
create
(
:ci_build
)
}
let
(
:trace
)
{
described_class
.
new
(
build
)
}
describe
"associations"
do
...
...
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