Class: Rspec::Generators::ApplicationJobGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/rspec/application_job/application_job_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_spec_fileObject



8
9
10
# File 'lib/generators/rspec/application_job/application_job_generator.rb', line 8

def create_spec_file
  template "application_job_spec.rb", File.join("spec/jobs/application_job_spec.rb")
end