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
00bfd00b
Commit
00bfd00b
authored
Feb 10, 2021
by
Allison Browne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply A-few-more-improvements patch
Perfomance and readability optimizations
parent
d8d45553
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
211 additions
and
226 deletions
+211
-226
spec/factories/ci/pipelines.rb
spec/factories/ci/pipelines.rb
+4
-4
spec/models/ci/pipeline_spec.rb
spec/models/ci/pipeline_spec.rb
+207
-222
No files found.
spec/factories/ci/pipelines.rb
View file @
00bfd00b
...
...
@@ -40,6 +40,10 @@ FactoryBot.define do
end
end
trait
:created
do
status
{
:created
}
end
factory
:ci_pipeline
do
transient
{
ci_ref_presence
{
true
}
}
...
...
@@ -53,10 +57,6 @@ FactoryBot.define do
failure_reason
{
:config_error
}
end
trait
:created
do
status
{
:created
}
end
trait
:preparing
do
status
{
:preparing
}
end
...
...
spec/models/ci/pipeline_spec.rb
View file @
00bfd00b
This diff is collapsed.
Click to expand it.
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