1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activejob/test/cases
Edouard CHIN 4d75f58991 Add a way to check for subset of arguments when performing jobs:
- When calling `assert_performed_with`/`assert_enqueued_with`, the
  +args+ needs to match exactly what the job get passed.

  Some jobs can have lot of arguments, or even a simple hash argument
  has many key. This is not convenient to test as most tests doesn't
  need to check if the arguments matches perfectly.

  This PR make it possible to only check if a subset of arguments were
  passed to the job.
2018-09-26 18:45:52 -04:00
..
adapter_test.rb [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
argument_serialization_test.rb Add test to make sure the custom object key can't be serialized 2018-08-28 16:31:15 -04:00
callbacks_test.rb [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
exceptions_test.rb Increment execution count before deserialize arguments 2018-08-18 11:22:41 +09:00
job_serialization_test.rb Make sure that when serialing an just deserialized job arguments are there 2018-05-01 13:33:50 -04:00
logging_test.rb retry_job should publish enqueue_retry.active_job notification 2018-09-16 17:46:24 +03:00
queue_adapter_test.rb [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
queue_naming_test.rb [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
queue_priority_test.rb [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
queuing_test.rb [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
rescue_test.rb [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
serializers_test.rb Fix error message about unknown ActiveJob argument serializer 2018-02-17 17:48:10 +02:00
test_case_test.rb [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
test_helper_test.rb Add a way to check for subset of arguments when performing jobs: 2018-09-26 18:45:52 -04:00
timezones_test.rb Add support for timezones to Active Job 2018-02-22 14:14:42 +00:00
translation_test.rb [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00