mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Small fixes.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user