class Rspec::Generators::NotifierGenerator

Public Instance Methods

generate_mailer_spec() click to toggle source
# File lib/generators/rspec/notifier/notifier_generator.rb, line 10
def generate_mailer_spec
  template 'notifier_spec.rb', File.join('spec/notifiers', class_path, "#{file_name}_spec.rb")
end