Class: Rspec::Wicked::Pipeline::StepGenerator

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

Instance Method Summary collapse

Instance Method Details

#create_spec_fileObject



11
12
13
# File 'lib/generators/rspec/wicked/pipeline/step/step_generator.rb', line 11

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