Sha256: 5a244a84b859b12d47483b869b22d39405ec694d0b6b53df22de17fbc464d4ed
Contents?: true
Size: 591 Bytes
Versions: 1
Compression:
Stored size: 591 Bytes
Contents
module MiniTestSpecRails module Init module ActiveJobBehavior extend ActiveSupport::Concern included do register_spec_type(self) { |desc| Class === desc && desc < ActiveJob::Base } register_spec_type(/Job( ?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 ActiveJob::TestCase.send :include, MiniTestSpecRails::Init::ActiveJobBehavior
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
minitest-spec-rails-5.2.0 | lib/minitest-spec-rails/init/active_job.rb |