diff options
Diffstat (limited to 'railties/lib/generators/rails/integration_test')
-rw-r--r-- | railties/lib/generators/rails/integration_test/integration_test_generator.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/railties/lib/generators/rails/integration_test/integration_test_generator.rb b/railties/lib/generators/rails/integration_test/integration_test_generator.rb index 00afaf70ab..7071d5ec50 100644 --- a/railties/lib/generators/rails/integration_test/integration_test_generator.rb +++ b/railties/lib/generators/rails/integration_test/integration_test_generator.rb @@ -1,9 +1,7 @@ module Rails module Generators class IntegrationTestGenerator < NamedBase - def check_class_collisions - class_collisions "#{class_name}Test" - end + check_class_collisions :suffix => "Test" def create_test_files template 'integration_test.rb', File.join('test/integration', class_path, "#{file_name}_test.rb") |