diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-04 03:07:52 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-04 03:07:52 +0300 |
commit | 4fe93274dec62ff7361a67be88e320131d66b788 (patch) | |
tree | 98ae79e3101ffd6569fc48bb4c7ad8808540ceb8 /spec/services/ci | |
parent | bbaf2bb0438b1c71020d9d216feb528add225a7f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/services/ci')
-rw-r--r-- | spec/services/ci/retry_build_service_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/services/ci/retry_build_service_spec.rb b/spec/services/ci/retry_build_service_spec.rb index 188271f4a75..8a22b2c8da3 100644 --- a/spec/services/ci/retry_build_service_spec.rb +++ b/spec/services/ci/retry_build_service_spec.rb @@ -238,6 +238,10 @@ describe Ci::RetryBuildService do it 'creates a new deployment' do expect { new_build }.to change { Deployment.count }.by(1) end + + it 'persists expanded environment name' do + expect(new_build.metadata.expanded_environment_name).to eq('production') + end end context 'when scheduling_type of build is nil' do |