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
3a795c24
Commit
3a795c24
authored
Apr 02, 2020
by
Rajendra Kadam
Committed by
Igor Drozdov
Apr 02, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build spec duplication
parent
e479c43a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
.rubocop.yml
.rubocop.yml
+0
-1
changelogs/unreleased/refactor-build-spec.yml
changelogs/unreleased/refactor-build-spec.yml
+5
-0
spec/models/ci/build_spec.rb
spec/models/ci/build_spec.rb
+1
-1
No files found.
.rubocop.yml
View file @
3a795c24
...
@@ -408,7 +408,6 @@ RSpec/RepeatedExample:
...
@@ -408,7 +408,6 @@ RSpec/RepeatedExample:
-
'
spec/lib/gitlab/git/blob_spec.rb'
-
'
spec/lib/gitlab/git/blob_spec.rb'
-
'
spec/lib/gitlab/import_export/project/relation_factory_spec.rb'
-
'
spec/lib/gitlab/import_export/project/relation_factory_spec.rb'
-
'
spec/models/ability_spec.rb'
-
'
spec/models/ability_spec.rb'
-
'
spec/models/ci/build_spec.rb'
-
'
spec/models/concerns/issuable_spec.rb'
-
'
spec/models/concerns/issuable_spec.rb'
-
'
spec/models/project_services/chat_message/pipeline_message_spec.rb'
-
'
spec/models/project_services/chat_message/pipeline_message_spec.rb'
-
'
spec/routing/admin_routing_spec.rb'
-
'
spec/routing/admin_routing_spec.rb'
...
...
changelogs/unreleased/refactor-build-spec.yml
0 → 100644
View file @
3a795c24
---
title
:
Fix build duplicate spec
merge_request
:
28633
author
:
Rajendra Kadam
type
:
added
spec/models/ci/build_spec.rb
View file @
3a795c24
...
@@ -3337,7 +3337,7 @@ describe Ci::Build do
...
@@ -3337,7 +3337,7 @@ describe Ci::Build do
end
end
it
"doesn't save timeout"
do
it
"doesn't save timeout"
do
expect
{
run_job_without_exception
}.
not_to
change
{
job
.
reload
.
ensure_metadata
.
timeout
_source
}
expect
{
run_job_without_exception
}.
not_to
change
{
job
.
reload
.
ensure_metadata
.
timeout
}
end
end
it
"doesn't save timeout_source"
do
it
"doesn't save timeout_source"
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