diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-11-06 13:37:15 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-11-06 13:37:15 +0900 |
commit | 65a7a6e5a26cd4a5141a12f6694e4897336e46b9 (patch) | |
tree | c634ded28ff947bb861e032ff12969106ef1287a /spec/services/update_deployment_service_spec.rb | |
parent | 56226498bf74f3b8c31d76bd99e35af68ad7d2f4 (diff) | |
download | gitlab-ce-65a7a6e5a26cd4a5141a12f6694e4897336e46b9.tar.gz |
Fix spec
Diffstat (limited to 'spec/services/update_deployment_service_spec.rb')
-rw-r--r-- | spec/services/update_deployment_service_spec.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/spec/services/update_deployment_service_spec.rb b/spec/services/update_deployment_service_spec.rb index 572e1e9f14e..b963a84ca0c 100644 --- a/spec/services/update_deployment_service_spec.rb +++ b/spec/services/update_deployment_service_spec.rb @@ -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', |