Sha256: abd0b5262732692372cfc12f1a494c407c10485502b66b8179c753cc619f308f

Contents?: true

Size: 536 Bytes

Versions: 10

Compression:

Stored size: 536 Bytes

Contents

module EmailSpec
  module BackgroundProcesses
    module DelayedJob
      def all_emails
        Delayed::Job.work_off
        super
      end

      def last_email_sent
        Delayed::Job.work_off
        super
      end

      def reset_mailer
        Delayed::Job.work_off
        super
      end

      def mailbox_for(address)
        Delayed::Job.work_off
        super
      end
    end

    module Compatibility
      if defined?(Delayed)
        include EmailSpec::BackgroundProcesses::DelayedJob
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
bmabey-email_spec-0.3.2 lib/email_spec/background_processes.rb
bmabey-email_spec-0.3.3 lib/email_spec/background_processes.rb
bmabey-email_spec-0.3.4 lib/email_spec/background_processes.rb
email_spec-0.5.0 lib/email_spec/background_processes.rb
email_spec-0.4.0 lib/email_spec/background_processes.rb
email_spec-0.3.8 lib/email_spec/background_processes.rb
email_spec-0.3.7 lib/email_spec/background_processes.rb
email_spec-0.3.6 lib/email_spec/background_processes.rb
glennr-email_spec-0.3.5 lib/email_spec/background_processes.rb
email_spec-0.3.5 lib/email_spec/background_processes.rb