Skip to content
This repository
tag: v3.1.0.rc4
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 15 lines (12 sloc) 0.399 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14
require 'rails/generators/test_unit'

module TestUnit
  module Generators
    class MailerGenerator < Base
      argument :actions, :type => :array, :default => [], :banner => "method method"
      check_class_collision :suffix => "Test"

      def create_test_files
        template "functional_test.rb", File.join('test/functional', class_path, "#{file_name}_test.rb")
      end
    end
  end
end
Something went wrong with that request. Please try again.