Class: Rails::Generators::PerformanceTestGenerator

Inherits:
NamedBase
  • Object
show all
Defined in:
lib/generators/rails/performance_test/performance_test_generator.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#create_performance_test_fileObject



8
9
10
# File 'lib/generators/rails/performance_test/performance_test_generator.rb', line 8

def create_performance_test_file
  template 'performance_test.rb', File.join('test/performance', class_path, "#{file_name}_test.rb")
end