diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-10 18:31:22 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-06-13 13:07:23 +0300 |
commit | e0673f82c9ee222cf807438520a5abbd75a70456 (patch) | |
tree | ead5518f3d1da33147310df6d33a1143339bd282 /spec/workers/expire_build_artifacts_worker_spec.rb | |
parent | 1c60ff0b7ae190a5c6c1cc8c72358af6ef66c05e (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.rb | 1 |
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 |