1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

9 commits

Author SHA1 Message Date
Cristian Bica
8a73f4b5b9 ActiveJob testing improvements
1. The :test adapter wasn't going through a full cycle of
serialize/deserialize when performing jobs. Now it does
2. Regular AJ tests were not run for the :test adapter. Now they are
3. ActiveJob::TestHelper uses assert_valid_keys but doesn’t requires
the file that implements that method. Now it does
2014-12-30 17:53:42 +02:00
Fábio Luiz Nery de Miranda
4f8eb78b1a Add perform_enqueued_jobs
It will set proper queue_adapter state required by assert_performed_jobs assertions.

Also the block version of assert_performed_jobs will make sure this
state is respected.

Fixes #17684
2014-11-25 00:24:36 -02:00
Robin Dupret
30c3813cf0 Tiny documentation fixes and styling improvements
[ci skip]
2014-11-01 19:36:24 +01:00
Vipul A M
7b87fb1b64 - Fix mentioned shortcut, to what the shortcut actually is, and that it accepts blocks for assert_no_enqueued_jobs and assert_no_performed_jobs test helpers.
- args => arguments when used in actual docs.

[ci skip]
2014-10-21 00:40:59 +05:30
yuuji.yaginuma
39bef5823f add message to assert in assert_enqueued_with 2014-09-23 08:50:32 +09:00
Abdelkader Boudih
fbe116a248 correct rdoc [ci skip] 2014-09-05 06:35:19 +00:00
Abdelkader Boudih
d7add5352e [ActiveJob] TestCase (Will squash before merge) 2014-09-02 14:26:43 +00:00
Abdelkader Boudih
fccf3d0b63 [ActiveJob] TestCase 2014-09-02 07:50:16 +00:00
Abdelkader Boudih
eb4245dd17 [ActiveJob] TestCase 2014-09-02 07:50:16 +00:00