diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-11-07 18:56:34 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-11-07 18:56:34 +0900 |
commit | 9b807a1091d7939e0b5206d6fd76a3a034d4cda4 (patch) | |
tree | 157d072d90138ea2100f3f7915654420602aea70 /spec/models/environment_status_spec.rb | |
parent | 66d43c84810838cf496134a05fde8dfcc5c8246f (diff) | |
download | gitlab-ce-9b807a1091d7939e0b5206d6fd76a3a034d4cda4.tar.gz |
Improve test qualityfix-environment-status-in-merge-request-widget
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 db9ee204849..90f7e4a4590 100644 --- a/spec/models/environment_status_spec.rb +++ b/spec/models/environment_status_spec.rb @@ -99,7 +99,7 @@ describe EnvironmentStatus do let(:user) { project.owner } before do - build.deployment&.update(sha: sha) + build.deployment&.update!(sha: sha) end context 'when environment is created on a forked project' do |