Skip to content

Commit 53fc047

Browse files
committed
Add a spec to ensure cron:day calls WarmUpCache
1 parent 79b09be commit 53fc047

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/lib/tasks/cron/day.rake_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99

1010
before { Rake::Task['cron:day'].reenable }
1111

12-
it 'calls the UpdateSlugs lev routine' do
12+
it 'calls the UpdateSlugs and WarmUpCache lev routines' do
1313
expect(UpdateSlugs).to receive(:call)
14+
expect(WarmUpCache).to receive(:call)
1415

1516
Rake.application.invoke_task 'cron:day'
1617
end

0 commit comments

Comments
 (0)