diff options
Diffstat (limited to 'railties/lib/generators/test_unit/scaffold/scaffold_generator.rb')
-rw-r--r-- | railties/lib/generators/test_unit/scaffold/scaffold_generator.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/railties/lib/generators/test_unit/scaffold/scaffold_generator.rb b/railties/lib/generators/test_unit/scaffold/scaffold_generator.rb deleted file mode 100644 index a95916ae13..0000000000 --- a/railties/lib/generators/test_unit/scaffold/scaffold_generator.rb +++ /dev/null @@ -1,18 +0,0 @@ -require 'generators/test_unit' -require 'rails/generators/resource_helpers' - -module TestUnit - module Generators - class ScaffoldGenerator < Base - include Rails::Generators::ResourceHelpers - - class_option :singleton, :type => :boolean, :desc => "Supply to create a singleton controller" - check_class_collision :suffix => "ControllerTest" - - def create_test_files - template 'functional_test.rb', - File.join('test/functional', controller_class_path, "#{controller_file_name}_controller_test.rb") - end - end - end -end |