Class: Minitest::Generators::JobGenerator
- Defined in:
- lib/generators/minitest/job/job_generator.rb
Overview
:nodoc:
Instance Method Summary collapse
Methods inherited from Base
default_source_root, #spec_expectation_monad, #test_file_type
Instance Method Details
#create_test_file ⇒ Object
10 11 12 |
# File 'lib/generators/minitest/job/job_generator.rb', line 10 def create_test_file template "unit_#{test_file_type}.rb", File.join("test/jobs", class_path, "#{file_name}_job_test.rb") end |