Class: TestUnit::Generators::NotifierGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/test_unit/notifier/notifier_generator.rb

Instance Method Summary collapse

Instance Method Details

#generate_mailer_specObject



9
10
11
# File 'lib/generators/test_unit/notifier/notifier_generator.rb', line 9

def generate_mailer_spec
  template 'notifier_test.rb', File.join('test/notifiers', class_path, "#{file_name}_test.rb")
end