rails/activejob/test
Rafael Mendonça França 32eba97a08
Make sure scheduled_at is a Time object when asserting enqueued jobs
When the `:at` attribute is sent to the test adapter it is converted
to a float, and that float is what is added to the payload, so we
need to convert back to a Time object.

See:
8a37276416/activejob/lib/active_job/enqueuing.rb (L95)
8a37276416/activejob/lib/active_job/queue_adapters/test_adapter.rb (L34)
2023-09-27 15:29:11 +00:00
..
adapters Remove QueAdapter from Active Job 2022-09-12 22:31:10 +09:00
cases Make sure scheduled_at is a Time object when asserting enqueued jobs 2023-09-27 15:29:11 +00:00
integration Add perform_all_later to enqueue multiple jobs at once 2023-02-02 16:39:22 -05:00
jobs Set, serialize, and deserialize Active Job scheduled_at as Time; deserialize enqueued_at as Time; deprecate setting scheduled_at= with numeric/epoch 2023-09-26 17:01:41 -07: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