diff options
Diffstat (limited to 'railties')
-rwxr-xr-x | railties/bin/gen | 2 | ||||
-rw-r--r-- | railties/lib/generators/rails/integration_test/integration_test_generator.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/railties/bin/gen b/railties/bin/gen index 8dc6ba3cb0..036b1d8275 100755 --- a/railties/bin/gen +++ b/railties/bin/gen @@ -23,7 +23,7 @@ if ARGV.size == 0 puts "Please select a generator." puts "Builtin: #{rails.join(', ')}." - puts "Others: #{others.join(', ')}." + puts "Others: #{others.join(', ')}." unless others.empty? exit elsif ARGV.size == 1 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 7071d5ec50..b45ef1597c 100644 --- a/railties/lib/generators/rails/integration_test/integration_test_generator.rb +++ b/railties/lib/generators/rails/integration_test/integration_test_generator.rb @@ -1,7 +1,7 @@ module Rails module Generators class IntegrationTestGenerator < NamedBase - check_class_collisions :suffix => "Test" + check_class_collision :suffix => "Test" def create_test_files template 'integration_test.rb', File.join('test/integration', class_path, "#{file_name}_test.rb") |