Class: Steak::Generators::SpecGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/steak/spec_generator.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) main



6
7
8
# File 'lib/generators/steak/spec_generator.rb', line 6

def main
  template 'acceptance_spec.rb', File.join('spec/acceptance', class_path, "#{file_name}_spec.rb")
end