class Rspec::Generators::MailerGenerator

def generate_fixtures_files

def generate_fixtures_files
  actions.each do |action|
    @action, @path = action, File.join(file_path, action)
    template "fixture", File.join("spec/fixtures", @path)
  end
end

def generate_mailer_spec

def generate_mailer_spec
  template "mailer_spec.rb", File.join('spec/mailers', class_path, "#{file_name}_spec.rb")
end