Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-06-10 18:31:22 +0300
committerPhil Hughes <me@iamphill.com>2016-06-13 13:07:23 +0300
commite0673f82c9ee222cf807438520a5abbd75a70456 (patch)
treeead5518f3d1da33147310df6d33a1143339bd282 /spec/workers/expire_build_artifacts_worker_spec.rb
parent1c60ff0b7ae190a5c6c1cc8c72358af6ef66c05e (diff)
Save database after erasing artifacts
Diffstat (limited to 'spec/workers/expire_build_artifacts_worker_spec.rb')
-rw-r--r--spec/workers/expire_build_artifacts_worker_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/workers/expire_build_artifacts_worker_spec.rb b/spec/workers/expire_build_artifacts_worker_spec.rb
index c9ccddc2a09..64a55e8c587 100644
--- a/spec/workers/expire_build_artifacts_worker_spec.rb
+++ b/spec/workers/expire_build_artifacts_worker_spec.rb
@@ -42,6 +42,7 @@ describe ExpireBuildArtifactsWorker do
before do
build.erase_artifacts!
+ build.save
end
it do