Class: RefinerycmsTesting

Inherits:
Refinery::Generators::EngineInstaller
  • Object
show all
Defined in:
lib/generators/refinerycms_testing_generator.rb

Instance Method Summary collapse

Instance Method Details

#generateObject



8
9
10
11
12
13
14
15
# File 'lib/generators/refinerycms_testing_generator.rb', line 8

def generate
  copy_file 'config/cucumber.yml', Rails.root.join('config', 'cucumber.yml')
  copy_file 'spec/spec_helper.rb', Rails.root.join('spec', 'spec_helper.rb')
  copy_file 'spec/rcov.opts', Rails.root.join('spec', 'rcov.opts')
  copy_file '.rspec', Rails.root.join('.rspec')
  copy_file 'lib/generators/templates/features/support/paths.rb',
            Rails.root.join('features', 'support', 'paths.rb')
end