aboutsummaryrefslogtreecommitdiffstats
path: root/activejob
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2018-09-17 08:19:12 +0300
committerbogdanvlviv <bogdanvlviv@gmail.com>2018-09-17 08:19:12 +0300
commit237ef95338058950be6793a10913194b7bc567cf (patch)
tree8ec328a294f316cdf367a8c6c5b59dfb77d75350 /activejob
parent2df65b6fae6d5356ba783809a3c9a598f1539e3e (diff)
downloadrails-237ef95338058950be6793a10913194b7bc567cf.tar.gz
rails-237ef95338058950be6793a10913194b7bc567cf.tar.bz2
rails-237ef95338058950be6793a10913194b7bc567cf.zip
Print correct rake command on running AJ integration tests
Currently when executing `bundle exec rake test:integration` under `activejob/` derectory, it prints helpful info like: ``` (snip) *** rake aj:integration:async *** (snip) *** rake aj:integration:delayed_job *** (snip) ``` but there is no defined `:aj` scope in `activejob/Rakefile`, so I think output should be like: ``` (snip) *** rake test:integration:async *** (snip) *** rake test:integration:delayed_job *** (snip) ``` By the way `rake test:integration` doesn't work if execute it without prepending `bundle exec` to that command. It is probably what we should fix too.
Diffstat (limited to 'activejob')
-rw-r--r--activejob/test/support/integration/helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activejob/test/support/integration/helper.rb b/activejob/test/support/integration/helper.rb
index a02d874e2e..c5fa2b136f 100644
--- a/activejob/test/support/integration/helper.rb
+++ b/activejob/test/support/integration/helper.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-puts "\n\n*** rake aj:integration:#{ENV['AJ_ADAPTER']} ***\n"
+puts "\n\n*** rake test:integration:#{ENV['AJ_ADAPTER']} ***\n"
ENV["RAILS_ENV"] = "test"
ActiveJob::Base.queue_name_prefix = nil