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
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 @@ describe 'Environments page', :js do
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 @@ describe UpdateDeploymentService do
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