blob: bf83b354a88b614ffd1e0fa7b9029337c69d33b1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
module Rails
module Generators
class PerformanceTestGenerator < NamedBase
def check_class_collisions
class_collisions "#{class_name}Test"
end
def create_test_files
template 'performance_test.rb', File.join('test/performance', class_path, "#{file_name}_test.rb")
end
end
end
end
|