diff options
author | Cristian Bica <cristian.bica@gmail.com> | 2014-12-30 17:53:42 +0200 |
---|---|---|
committer | Cristian Bica <cristian.bica@gmail.com> | 2014-12-30 17:53:42 +0200 |
commit | 8a73f4b5b9d342a45b3c8e29a13142adbca9ab21 (patch) | |
tree | 7330f4490ec4b7dd9cd880d1187ffb41fb4f0da6 /activejob/Rakefile | |
parent | 0c070ae568767a2c8e9bdec49ab3a1a24f113382 (diff) | |
download | rails-8a73f4b5b9d342a45b3c8e29a13142adbca9ab21.tar.gz rails-8a73f4b5b9d342a45b3c8e29a13142adbca9ab21.tar.bz2 rails-8a73f4b5b9d342a45b3c8e29a13142adbca9ab21.zip |
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
Diffstat (limited to 'activejob/Rakefile')
-rw-r--r-- | activejob/Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activejob/Rakefile b/activejob/Rakefile index 7e66860b36..b215ba65fa 100644 --- a/activejob/Rakefile +++ b/activejob/Rakefile @@ -1,7 +1,7 @@ require 'rake/testtask' require 'rubygems/package_task' -ACTIVEJOB_ADAPTERS = %w(inline delayed_job qu que queue_classic resque sidekiq sneakers sucker_punch backburner) +ACTIVEJOB_ADAPTERS = %w(inline delayed_job qu que queue_classic resque sidekiq sneakers sucker_punch backburner test) ACTIVEJOB_ADAPTERS -= %w(queue_classic) if defined?(JRUBY_VERSION) task default: :test |