Class: Rspec::Wicked::PipelineGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/rspec/wicked/pipeline/pipeline_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_spec_fileObject



10
11
12
# File 'lib/generators/rspec/wicked/pipeline/pipeline_generator.rb', line 10

def create_spec_file
  template "pipeline_spec.rb", File.join("spec/steps", class_path, "#{file_name}_pipeline_spec.rb")
end