rails/activejob/test
Jonathan del Strother 074d431493
Fix invalid durations in ActiveJob serialization
Durations that were round-tripped through ActiveJob::Arguments.serialize
would appear fine at a first glance, but trying to perform
duration-math on them would fail:

```
irb(main):001:0> d = ActiveJob::Arguments.deserialize(ActiveJob::Arguments.serialize([1.year]))[0]
=> 1 year
irb(main):002:0> d + 1.day
activesupport-6.1.4.4/lib/active_support/duration.rb:242:in `+': undefined method `merge' for [[:years, 1]]:Array (NoMethodError)
```
2023-08-13 11:27:16 +01:00
..
adapters Remove QueAdapter from Active Job 2022-09-12 22:31:10 +09:00
cases Fix invalid durations in ActiveJob serialization 2023-08-13 11:27:16 +01:00
integration Add perform_all_later to enqueue multiple jobs at once 2023-02-02 16:39:22 -05:00
jobs Fix incorrect arguments for Active Job test job 2023-07-02 16:25:09 +10:00
models [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
support Active Job: async adapter should always run jobs immediately if immediate set 2023-07-03 09:02:51 +10:00
helper.rb Active Job: async adapter should always run jobs immediately if immediate set 2023-07-03 09:02:51 +10:00