Sha256: cf8ec9d1f90e9faeded6ac438ba8b6ddef41d775bc81f25f879468fe2ff745df
Contents?: true
Size: 607 Bytes
Versions: 14
Compression:
Stored size: 607 Bytes
Contents
module MiniTestSpecRails module Init module ActionMailerBehavior extend ActiveSupport::Concern included do register_spec_type(self) { |desc| desc.is_a?(Class) && desc < ActionMailer::Base } register_spec_type(/Mailer( ?Test)?\z/, self) register_spec_type(self) { |desc| desc.is_a?(Class) && desc < self } extend Descriptions end module Descriptions def described_class determine_default_mailer(name) end end end end end ActionMailer::TestCase.send :include, MiniTestSpecRails::Init::ActionMailerBehavior
Version data entries
14 entries across 14 versions & 1 rubygems