blob: 99edda54611731e2a997c5bfd44d2989b5a5a4fb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
require 'rails/generators/test_unit'
module TestUnit
module Generators
class PerformanceGenerator < Base
check_class_collision :suffix => "Test"
def create_test_files
template 'performance_test.rb', File.join('test/performance', class_path, "#{file_name}_test.rb")
end
end
end
end
|