Class: CrossStubGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/cross_stub/cross_stub_generator.rb

Instance Method Summary collapse

Instance Method Details

#generateObject



4
5
6
7
# File 'lib/generators/cross_stub/cross_stub_generator.rb', line 4

def generate
  copy_file 'config/initializers/cross-stub.rb', 'config/initializers/cross-stub.rb'
  copy_file 'features/support/cross-stub.rb', 'features/support/cross-stub.rb'
end