Commit 14cdde72 authored by Shinya Maeda's avatar Shinya Maeda

Fix spec

parent 9a0aa653
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment