Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
projects.thm.de
GitLab
Commits
65a7a6e5
Commit
65a7a6e5
authored
Nov 06, 2018
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spec
parent
56226498
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
16 deletions
+1
-16
spec/features/projects/environments/environments_spec.rb
spec/features/projects/environments/environments_spec.rb
+1
-0
spec/services/update_deployment_service_spec.rb
spec/services/update_deployment_service_spec.rb
+0
-16
No files found.
spec/features/projects/environments/environments_spec.rb
View file @
65a7a6e5
...
...
@@ -278,6 +278,7 @@ def stop_button_selector
let!
(
:deployment
)
do
create
(
:deployment
,
:success
,
environment:
environment
,
deployable:
build
,
sha:
project
.
commit
.
id
)
...
...
spec/services/update_deployment_service_spec.rb
View file @
65a7a6e5
...
...
@@ -66,22 +66,6 @@
end
end
context
'when stop action is defined'
do
let
(
:options
)
{
{
name:
'production'
,
action:
'stop'
}
}
context
'and environment is available'
do
before
do
environment
.
start
end
it
'makes environment stopped'
do
subject
expect
(
environment
.
reload
).
to
be_stopped
end
end
end
context
'when variables are used'
do
let
(
:options
)
do
{
name:
'review-apps/$CI_COMMIT_REF_NAME'
,
...
...
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