We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ffe31a commit d26c26bCopy full SHA for d26c26b
2 files changed
.travis.yml
@@ -1,5 +1,6 @@
1
language: ruby
2
rvm:
3
+ - 2.6.0
4
- 2.5.0
5
- 2.4.3
6
- 2.3.6
test/unit/job_test.rb
@@ -935,7 +935,8 @@
935
@jobs_hash['name_of_job']['cron'] = "bad cron"
936
out = Sidekiq::Cron::Job.load_from_hash @jobs_hash
937
assert_equal 1, out.size, "should have 1 error"
938
- assert_equal ({"name_of_job"=>["'cron' -> \"bad cron\" -> ArgumentError: not a cron string \"bad cron\""]}), out
+ assert_includes out['name_of_job'].first, "bad cron"
939
+ assert_includes out['name_of_job'].first, "ArgumentError:"
940
assert_equal 1, Sidekiq::Cron::Job.all.size, "Should have only 1 job after load"
941
end
942
0 commit comments