Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/serializers/environment_status_entity_spec.rb')
-rw-r--r--spec/serializers/environment_status_entity_spec.rb2
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