Commit 273985fa authored by Shinya Maeda's avatar Shinya Maeda

Add test for ensuring the file remains after socker error

parent 36c05d90
......@@ -170,6 +170,9 @@ describe Projects::UpdatePagesService do
it 'raises an error' do
expect { execute }.to raise_error(SocketError)
build.reload
expect(build.artifacts?).to eq(true)
end
end
end
......
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