summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/services/projects/update_pages_service_spec.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/services/projects/update_pages_service_spec.rb b/spec/services/projects/update_pages_service_spec.rb
index e91504194fe..934106627a9 100644
--- a/spec/services/projects/update_pages_service_spec.rb
+++ b/spec/services/projects/update_pages_service_spec.rb
@@ -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