aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test/cases
Commit message (Collapse)AuthorAgeFilesLines
* Include missing requireDavid Heinemeier Hansson2014-12-051-0/+1
|
* Only filter GIDable objects; remove cosmetic changesAri Pollak2014-12-011-10/+10
|
* Hide potentially sensitive ActiveJob params from logsAri Pollak2014-11-281-10/+18
| | | | * Show GlobalID instead of full object .inspect output
* Add perform_enqueued_jobsFábio Luiz Nery de Miranda2014-11-251-13/+23
| | | | | | | | | 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
* Added queue_name_delimiter attribute.Terry Meacham2014-10-261-1/+18
| | | | | | | | - Added ActiveJob::Base#queue_name_delimiter to allow for developers using ActiveJob to change the delimiter from the default ('_') to whatever else they may be using (e.g., '.', '-', ...). - Updated source guide to include a blurb about the delimiter.
* - Remove duplication in AJ logging test for setting logger.Vipul A M2014-10-202-3/+1
| | | | - Remove un-needed require in AJ rescue test.
* tests, move `original_` var assignments outside of `begin`.Yves Senn2014-10-101-9/+13
|
* ActiveJob: allow blank queue namesBlake Gentry2014-10-091-0/+20
| | | | | | | As discussed in #17195, Que uses blank queue names by default for performance reasons. At the very least, ActiveJob should allow users to choose "" as their queue name. This commit allows blank queue names, as well as tests to make sure that nil queue names still use the default.
* Fix string/gid collision in job argumentsJeremy Kemper2014-09-251-3/+11
| | | | Serialize Global IDs as special objects, distinguishable from Strings
* Merge pull request #17005 from y-yagi/fix_aj_test_helperYves Senn2014-09-231-1/+3
|\ | | | | | | add message to `assert` in `assert_enqueued_with`
| * add message to `assert` in `assert_enqueued_with`yuuji.yaginuma2014-09-231-1/+3
|/
* Tighten up AJ::Arguments and its testsJeremy Kemper2014-09-142-77/+76
| | | | | * Disallow deserialization of non-primitive objects * Broaden coverage; remove superfluous tests
* Change gid calls to to_gidRafael Mendonça França2014-09-121-8/+8
|
* Active Job refactoringCristian Bica2014-09-037-72/+105
|
* Fix for double ActiveJob::DeserializationErorrCristian Bica2014-09-031-0/+5
|
* [ActiveJob] TestCase (Will squash before merge)Abdelkader Boudih2014-09-022-4/+2
|
* [ActiveJob] TestCaseAbdelkader Boudih2014-09-023-54/+24
|
* [ActiveJob] TestCaseAbdelkader Boudih2014-09-022-0/+260
|
* Raise ActiveJob::SerializationError when cannot serialize job argumentsCristian Bica2014-08-241-3/+3
|
* [ActiveJob] Add queue_name_prefix so all queue are prefixed .Abdelkader Boudih2014-08-181-0/+15
| | | | | | We can split queues on a per environement basis as well as seggregate per application so we can split queues on a per env basis ActiveJob::Base.queue_name_prefix = 'foo'
* Fix ActiveJob isolation tests.Lucas Mazza2014-08-171-0/+1
|
* [ActiveJob] raise DeserializationError when got an error deserializingCristian Bica2014-08-171-0/+7
|
* [ActiveJob] Fix tests for sucker_punchAbdelkader Boudih2014-08-174-8/+8
|
* Moved AR testing from using global variable to thread variableCristian Bica2014-08-164-10/+10
|
* ActiveJob: Reworked queue_base_name as default_queue_name + Allow configure ↵Cristian Bica2014-08-151-5/+5
| | | | ActiveJob from app.config.active_job
* Clean adapter_test.rb and skip test for sidekiq in unsupported rubiesAbdelkader Boudih2014-08-131-51/+3
|
* Fixed failing tests; Load active_job in railtie; Renamed generator to jobCristian Bica2014-08-122-1/+4
|
* Remove activejob integration testsAbdelkader Boudih2014-08-121-0/+1
|
* Add 'activejob/' from commit '14f74a8331f94150dfee653224de8fc837797709'Abdelkader Boudih2014-08-128-0/+352
git-subtree-dir: activejob git-subtree-mainline: b45b99894a60eda434abec94d133a1cfd8de2dda git-subtree-split: 14f74a8331f94150dfee653224de8fc837797709