1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Small fixes.

This commit is contained in:
José Valim 2009-06-26 10:49:43 +02:00
parent 2f3681dfc2
commit d40bd85119
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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")