mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Small fixes.
This commit is contained in:
parent
2f3681dfc2
commit
d40bd85119
2 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue