Class: TestUnit::Generators::ChannelGenerator

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

Instance Method Summary collapse

Instance Method Details

#create_test_filesObject



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

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