Methods

Class/Module Index [+]

Quicksearch

IntegrationTestGenerator

Public Instance Methods

manifest() click to toggle source
# File lib/rails_generator/generators/components/integration_test/integration_test_generator.rb, line 4
def manifest
  record do |m|
    # Check for class naming collisions.
    m.class_collisions class_name, "#{class_name}Test"

    # integration test directory
    m.directory File.join('test/integration', class_path)

    # integration test stub
    m.template 'integration_test.rb', File.join('test/integration', class_path, "#{file_name}_test.rb")
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.