diff options
author | Abdelkader Boudih <terminale@gmail.com> | 2014-09-28 10:31:17 +0000 |
---|---|---|
committer | Abdelkader Boudih <terminale@gmail.com> | 2014-09-28 10:31:17 +0000 |
commit | 175ca453a34eceb17d8d39bed22895898d9cc587 (patch) | |
tree | 8529337a5cd76a7839226324ded4f6e195681692 /railties | |
parent | 3a9b3ba082d50498751f6c144ef31dbefd7f0357 (diff) | |
download | rails-175ca453a34eceb17d8d39bed22895898d9cc587.tar.gz rails-175ca453a34eceb17d8d39bed22895898d9cc587.tar.bz2 rails-175ca453a34eceb17d8d39bed22895898d9cc587.zip |
correct filename for jobs tests
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/test_unit/job/job_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/test_unit/job/job_generator.rb b/railties/lib/rails/generators/test_unit/job/job_generator.rb index 466b74bd12..566b61ca66 100644 --- a/railties/lib/rails/generators/test_unit/job/job_generator.rb +++ b/railties/lib/rails/generators/test_unit/job/job_generator.rb @@ -6,7 +6,7 @@ module TestUnit # :nodoc: check_class_collision suffix: 'JobTest' def create_test_file - template 'unit_test.rb.erb', File.join('test/jobs', class_path, "#{file_name}_test.rb") + template 'unit_test.rb.erb', File.join('test/jobs', class_path, "#{file_name}_job_test.rb") end end end |