Class: IntegrationSpecGenerator

Inherits:
ModelGenerator
  • Object
show all
Defined in:
lib/vendor/plugins/rspec-rails/generators/integration_spec/integration_spec_generator.rb

Instance Method Summary collapse

Instance Method Details

#manifestObject



4
5
6
7
8
9
# File 'lib/vendor/plugins/rspec-rails/generators/integration_spec/integration_spec_generator.rb', line 4

def manifest
  record do |m|
    m.class_collisions class_path, class_name
    m.template 'integration_spec.rb',  File.join('spec/integration', class_path, "#{class_name.tableize}_spec.rb")
  end
end