rails/activejob/test
Rafael Mendonça França 5b9cd1a579
Make sure that when serialing an just deserialized job arguments are there
When a job was just deserialized `arguments` is `nil` and the serialized
arguments are in the `@serialized_arguments` variable. If we try to
serialize this job again the arguments are going to be `nil` instead of
what was serialized.

The test we had was not checking this case because it was deserializing
the job in the same object that had the arguments.

To fix this, when the `@serialized_arguments` are present we return it
instead of the result of the `arguments` serialized.
2018-05-01 13:33:50 -04:00
..
adapters Remove support for Qu gem. 2018-03-19 21:27:16 +01:00
cases Make sure that when serialing an just deserialized job arguments are there 2018-05-01 13:33:50 -04:00
integration Remove support for Qu gem. 2018-03-19 21:27:16 +01:00
jobs Add support for timezones to Active Job 2018-02-22 14:14:42 +00:00
models [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
support Remove support for Qu gem. 2018-03-19 21:27:16 +01:00
helper.rb [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00