Class: Rspec::Generators::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_filesObject



8
9
10
11
# File 'lib/generators/rspec/install_generator.rb', line 8

def copy_files
  empty_directory 'spec/bot'
  template "application_handler_spec.rb", "spec/bot/application_handler_spec.rb"
end