Sha256: 48c889be7cb8107be852c24e9cdd9d6a9ec13ceff18f063853c6eb99d02ef8b2
Contents?: true
Size: 251 Bytes
Versions: 5
Compression:
Stored size: 251 Bytes
Contents
RSpec.describe PublishPostJob, type: :job do let(:post) { Post.create.decorate } subject(:job) { described_class.perform_later(post) } it 'queues the job' do expect { job }.to have_enqueued_job(described_class).with(post.object) end end
Version data entries
5 entries across 5 versions & 1 rubygems