Describe the bug
The documentation states
assert SidekiqUniqueJobs.validate_worker!(BadWorker.get_sidekiq_options)
in the minitest section. Hoever, the code is
raise InvalidWorker, lock_config unless lock_config.errors.empty?
this would require assert_nothing_raised or similar to be used.
Expected behavior
A failing test should gently say the test is not passed.
Current behavior
The test crashes.
Describe the bug
The documentation states
in the minitest section. Hoever, the code is
this would require assert_nothing_raised or similar to be used.
Expected behavior
A failing test should gently say the test is not passed.
Current behavior
The test crashes.