diff options
Diffstat (limited to 'railties/lib/generators/test_unit/controller/controller_generator.rb')
-rw-r--r-- | railties/lib/generators/test_unit/controller/controller_generator.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/lib/generators/test_unit/controller/controller_generator.rb b/railties/lib/generators/test_unit/controller/controller_generator.rb index a8cb5cbdbb..b57a6e794f 100644 --- a/railties/lib/generators/test_unit/controller/controller_generator.rb +++ b/railties/lib/generators/test_unit/controller/controller_generator.rb @@ -6,7 +6,8 @@ module TestUnit check_class_collision :suffix => "ControllerTest" def create_test_files - template 'functional_test.rb', File.join('test/functional', class_path, "#{file_name}_controller_test.rb") + template 'functional_test.rb', + File.join('test/functional', class_path, "#{file_name}_controller_test.rb") end end end |