Class: TestUnit::Generators::JobGenerator

Inherits:
Base
  • Object
show all
Defined in:
railties/lib/rails/generators/test_unit/job/job_generator.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#create_test_fileObject



10
11
12
# File 'railties/lib/rails/generators/test_unit/job/job_generator.rb', line 10

def create_test_file
  template "unit_test.rb", File.join("test/jobs", class_path, "#{file_name}_job_test.rb")
end