module QueueClassicMatchers::QueueClassicPlus::Job
Public Class Methods
included(receiver)
click to toggle source
# File lib/queue_classic_matchers.rb, line 25 def self.included(receiver) receiver.class_eval do shared_examples_for 'a queueable class' do subject { described_class } its(:queue) { should be_a(::QC::Queue) } it { should respond_to(:do) } it { should respond_to(:perform) } it 'should be a valid queue name' do expect(subject.queue.name).to be_present end end end end