mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
10d0f48ad8
`assert_enqueued_with` and `assert_performed_with` were not able to properly test jobs with relative delay. `:at` option was asserted for equality and test will always fail cause small fraction of time will pass between job call and assertion. This commit fixes that by droping microseconds from `:at` argument assertions. |
||
---|---|---|
.. | ||
adapters | ||
cases | ||
integration | ||
jobs | ||
models | ||
support | ||
helper.rb |