Class: Rspec::FrillGenerator

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

Instance Method Summary collapse

Instance Method Details

#create_spec_fileObject



5
6
7
# File 'lib/generators/rspec/frill_generator.rb', line 5

def create_spec_file
  template 'frill_spec.rb', File.join('spec/frills', "#{singular_name}_frill_spec.rb")
end