Sha256: ff560c59f948986ac0f9ad80195aee708ba0e23161d7edd4caa5cf7637d0bf1f
Contents?: true
Size: 606 Bytes
Versions: 14
Compression:
Stored size: 606 Bytes
Contents
module MiniTestSpecRails module Init module ActionMailerBehavior extend ActiveSupport::Concern included do register_spec_type(self) { |desc| Class === desc && desc < ActionMailer::Base } register_spec_type(/Mailer( ?Test)?\z/, self) register_spec_type(self) { |desc| Class === desc && 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 & 2 rubygems