Class: TestUnit::Generators::ChannelGenerator

Inherits:
Base
  • Object
show all
Defined in:
lib/generators/test_unit/channel/channel_generator.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#create_test_fileObject



12
13
14
# File 'lib/generators/test_unit/channel/channel_generator.rb', line 12

def create_test_file
  template "unit_test.rb.erb", File.join("test/channels", class_path, "#{file_name}_channel_test.rb")
end