diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-03 21:08:29 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-03 21:08:29 +0300 |
commit | 592223823c8ebf6e32d98e4b12620ba8ff043cca (patch) | |
tree | 1c665b754b1487df374d9cb28cfc61ff40a6b317 /spec/serializers/environment_status_entity_spec.rb | |
parent | 0e13b2c71563d578805fc01fda9a4361f9f9d053 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/serializers/environment_status_entity_spec.rb')
-rw-r--r-- | spec/serializers/environment_status_entity_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/serializers/environment_status_entity_spec.rb b/spec/serializers/environment_status_entity_spec.rb index a940c4b465e..77ef06f90c2 100644 --- a/spec/serializers/environment_status_entity_spec.rb +++ b/spec/serializers/environment_status_entity_spec.rb @@ -17,7 +17,7 @@ RSpec.describe EnvironmentStatusEntity do subject { entity.as_json } before do - deployment.update(sha: merge_request.diff_head_sha) + deployment.update!(sha: merge_request.diff_head_sha) allow(request).to receive(:current_user).and_return(user) end |