Class: Rspec::Generators::ChannelGenerator

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

Instance Method Summary collapse

Instance Method Details

#create_channel_specObject



11
12
13
# File 'lib/generators/rspec/channel/channel_generator.rb', line 11

def create_channel_spec
  template "channel_spec.rb.erb", File.join("spec/channels", class_path, "#{file_name}_channel_spec.rb")
end