diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-15 15:06:06 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-15 15:06:06 +0300 |
commit | fc96671f817239041ba2747af835a8d5d9aa3739 (patch) | |
tree | 19c7f650c869033760850b0d0edd4fb0a10968c4 /spec/models/environment_status_spec.rb | |
parent | 3d13802bc2c9400ea33defdd43bff6d904ee9c4d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/environment_status_spec.rb')
-rw-r--r-- | spec/models/environment_status_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/environment_status_spec.rb b/spec/models/environment_status_spec.rb index e2836420df9..01d331f518b 100644 --- a/spec/models/environment_status_spec.rb +++ b/spec/models/environment_status_spec.rb @@ -95,7 +95,7 @@ describe EnvironmentStatus do describe '.build_environments_status' do subject { described_class.send(:build_environments_status, merge_request, user, pipeline) } - let!(:build) { create(:ci_build, :deploy_to_production, pipeline: pipeline) } + let!(:build) { create(:ci_build, :with_deployment, :deploy_to_production, pipeline: pipeline) } let(:environment) { build.deployment.environment } let(:user) { project.owner } |