summaryrefslogtreecommitdiff
path: root/spec/models/environment_status_spec.rb
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-11-07 18:56:34 +0900
committerShinya Maeda <shinya@gitlab.com>2018-11-07 18:56:34 +0900
commit9b807a1091d7939e0b5206d6fd76a3a034d4cda4 (patch)
tree157d072d90138ea2100f3f7915654420602aea70 /spec/models/environment_status_spec.rb
parent66d43c84810838cf496134a05fde8dfcc5c8246f (diff)
downloadgitlab-ce-9b807a1091d7939e0b5206d6fd76a3a034d4cda4.tar.gz
Diffstat (limited to 'spec/models/environment_status_spec.rb')
-rw-r--r--spec/models/environment_status_spec.rb2
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