diff options
Diffstat (limited to 'railties/lib/generators/test_unit')
3 files changed, 0 insertions, 15 deletions
diff --git a/railties/lib/generators/test_unit/mailer/mailer_generator.rb b/railties/lib/generators/test_unit/mailer/mailer_generator.rb index 5fa7751076..125371b173 100644 --- a/railties/lib/generators/test_unit/mailer/mailer_generator.rb +++ b/railties/lib/generators/test_unit/mailer/mailer_generator.rb @@ -3,11 +3,6 @@ module TestUnit class MailerGenerator < Base argument :actions, :type => :array, :default => [] - desc <<DESC -Description: - Create TestUnit files for mailer generator. -DESC - def create_test_files template "unit_test.rb", File.join('test', 'unit', class_path, "#{file_name}_test.rb") end diff --git a/railties/lib/generators/test_unit/observer/observer_generator.rb b/railties/lib/generators/test_unit/observer/observer_generator.rb index 1f0613007b..adfd90a086 100644 --- a/railties/lib/generators/test_unit/observer/observer_generator.rb +++ b/railties/lib/generators/test_unit/observer/observer_generator.rb @@ -1,11 +1,6 @@ module TestUnit module Generators class ObserverGenerator < Base - desc <<DESC -Description: - Create TestUnit files for observer generator. -DESC - def create_test_files template 'unit_test.rb', File.join('test', 'unit', class_path, "#{file_name}_observer_test.rb") end diff --git a/railties/lib/generators/test_unit/plugin/plugin_generator.rb b/railties/lib/generators/test_unit/plugin/plugin_generator.rb index 1c987ab1c9..427a7bd8f5 100644 --- a/railties/lib/generators/test_unit/plugin/plugin_generator.rb +++ b/railties/lib/generators/test_unit/plugin/plugin_generator.rb @@ -1,11 +1,6 @@ module TestUnit module Generators class PluginGenerator < Base - desc <<DESC -Description: - Create TestUnit files for plugin generator. -DESC - def create_test_files directory 'test' end |