Skip to content

Commit

Permalink
frequency was removed
Browse files Browse the repository at this point in the history
  • Loading branch information
d-m-u committed Aug 14, 2019
1 parent d6bf5b5 commit f730926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/models/miq_schedule_worker/scheduler_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
scheduler.schedule_cron("0 0 * * *", :tags => [:a, :b], &work)
job = rufus_scheduler.jobs.first

expect(job.frequency).to eq(1.day)
expect(job.rough_frequency).to eq(1.day.to_i)
expect(job.tags).to match_array(%w(a b))
expect(job.callable).to eq(work)
end
Expand Down

0 comments on commit f730926

Please sign in to comment.