diff options
author | Matija Čupić <matteeyah@gmail.com> | 2019-05-21 03:31:03 +0300 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2019-05-21 18:16:06 +0300 |
commit | 404a541dbc21b500cbf09c479ee3d2f341106863 (patch) | |
tree | ca00a45fcd0e6ee11b6eda9cf2a78d541a75a9ee /spec | |
parent | 01a28eada1215fe9d97b16bb405a1f1eb52f4ee3 (diff) |
Expire pipeline cache on finish
Diffstat (limited to 'spec')
-rw-r--r-- | spec/workers/build_finished_worker_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/workers/build_finished_worker_spec.rb b/spec/workers/build_finished_worker_spec.rb index 33f327d4a0c..4adb795b1d6 100644 --- a/spec/workers/build_finished_worker_spec.rb +++ b/spec/workers/build_finished_worker_spec.rb @@ -17,6 +17,7 @@ describe BuildFinishedWorker do expect_any_instance_of(BuildCoverageWorker).to receive(:perform) expect(BuildHooksWorker).to receive(:perform_async) expect(ArchiveTraceWorker).to receive(:perform_async) + expect(ExpirePipelineCacheWorker).to receive(:perform_async) described_class.new.perform(build.id) end |