aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorAbdelkader Boudih <terminale@gmail.com>2014-08-26 20:08:49 +0000
committerAbdelkader Boudih <terminale@gmail.com>2014-09-02 07:50:16 +0000
commiteb4245dd17ba66c0551f3d4ed841b471bcf01b91 (patch)
treeb79b4091e2a92d84bdbb042d67160f0b0e51b453 /railties
parent97e689a0d76daf9c208f96832b6d06db9491d569 (diff)
downloadrails-eb4245dd17ba66c0551f3d4ed841b471bcf01b91.tar.gz
rails-eb4245dd17ba66c0551f3d4ed841b471bcf01b91.tar.bz2
rails-eb4245dd17ba66c0551f3d4ed841b471bcf01b91.zip
[ActiveJob] TestCase
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/test_unit/job/templates/unit_test.rb.erb4
1 files changed, 3 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/test_unit/job/templates/unit_test.rb.erb b/railties/lib/rails/generators/test_unit/job/templates/unit_test.rb.erb
index 6200218313..5a9f0aded9 100644
--- a/railties/lib/rails/generators/test_unit/job/templates/unit_test.rb.erb
+++ b/railties/lib/rails/generators/test_unit/job/templates/unit_test.rb.erb
@@ -1,7 +1,9 @@
require 'test_helper'
<% module_namespacing do -%>
-class <%= class_name %>JobTest < ActiveSupport::TestCase
+class <%= class_name %>JobTest < ActiveJob::TestCase
+ tests <%= class_name %>Job
+
# test "the truth" do
# assert true
# end