Class: GimmeGimme::Generators::TestSupportGenerator

Inherits:
Base
  • Object
show all
Defined in:
lib/generators/gimme_gimme/test_support/test_support_generator.rb

Instance Method Summary collapse

Methods inherited from Base

source_root

Instance Method Details

#copy_support_filesObject



12
13
14
15
16
17
18
19
# File 'lib/generators/gimme_gimme/test_support/test_support_generator.rb', line 12

def copy_support_files
  empty_directory 'lib/gimme_gimme/testing'
  empty_directory 'features/support'
  empty_directory 'spec/factories'
  directory 'testing',  'lib/gimme_gimme/testing'
  directory 'support',  'features/support'
  directory 'factories', 'spec/factories'
end