Class: TestUnit::Generators::MailboxGenerator

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

Instance Method Summary collapse

Instance Method Details

#create_test_filesObject



10
11
12
# File 'lib/rails/generators/test_unit/mailbox_generator.rb', line 10

def create_test_files
  template "mailbox_test.rb", File.join("test/mailboxes", class_path, "#{file_name}_mailbox_test.rb")
end