Add rake task to check cronotab.rb syntax

This commit is contained in:
Dzmitry Plashchynski
2015-03-18 20:54:16 +02:00
parent dc70212f9d
commit fa97f573e0
5 changed files with 49 additions and 7 deletions

View File

@@ -6,6 +6,7 @@ describe Crono::Web do
let(:app) { Crono::Web }
before do
Crono::CronoJob.destroy_all
@test_job_id = 'Perform TestJob every 5 seconds'
@test_job_log = 'All runs ok'
@test_job = Crono::CronoJob.create!(