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
73ca7da4
Commit
73ca7da4
authored
Jul 09, 2020
by
lauraMon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removes outdated spec
parent
09e08e54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
22 deletions
+0
-22
spec/services/ci/retry_build_service_spec.rb
spec/services/ci/retry_build_service_spec.rb
+0
-22
No files found.
spec/services/ci/retry_build_service_spec.rb
View file @
73ca7da4
...
...
@@ -278,28 +278,6 @@ RSpec.describe Ci::RetryBuildService do
expect
(
new_build
.
metadata
.
expanded_environment_name
).
to
eq
(
'production'
)
end
end
context
'when scheduling_type of build is nil'
do
before
do
build
.
update_columns
(
scheduling_type:
nil
)
end
context
'when build has not needs'
do
it
'sets scheduling_type as :stage'
do
expect
(
new_build
.
scheduling_type
).
to
eq
(
'stage'
)
end
end
context
'when build has needs'
do
before
do
create
(
:ci_build_need
,
build:
build
)
end
it
'sets scheduling_type as :dag'
do
expect
(
new_build
.
scheduling_type
).
to
eq
(
'dag'
)
end
end
end
end
context
'when user does not have ability to execute build'
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