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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
637b90db
Commit
637b90db
authored
Jun 07, 2018
by
Matija Čupić
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add spec for continuous deploy strategy
parent
616dd00a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
spec/models/project_auto_devops_spec.rb
spec/models/project_auto_devops_spec.rb
+13
-0
No files found.
spec/models/project_auto_devops_spec.rb
View file @
637b90db
...
...
@@ -82,6 +82,19 @@ describe ProjectAutoDevops do
end
end
context
'when deploy_strategy is continuous'
do
let
(
:domain
)
{
'example.com'
}
before
do
auto_devops
.
deploy_strategy
=
'continuous'
end
it
do
expect
(
auto_devops
.
predefined_variables
.
map
{
|
var
|
var
[
:key
]
})
.
not_to
include
(
"STAGING_ENABLED"
,
"INCREMENTAL_ROLLOUT_ENABLED"
)
end
end
def
domain_variable
{
key:
'AUTO_DEVOPS_DOMAIN'
,
value:
'example.com'
,
public:
true
}
end
...
...
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