Sha256: 07228c4275b45cfd51ce7a68218b40be54c4be7c9265114795b5243f0a87825e

Contents?: true

Size: 285 Bytes

Versions: 3

Compression:

Stored size: 285 Bytes

Contents

# frozen_string_literal: true

describe "delayed job extensions" do
  it "provides an optional job_group_id" do
    job_group = Delayed::JobGroups::JobGroup.create!
    expect(Delayed::Job.new(job_group_id: job_group.id)).to be_valid
    expect(Delayed::Job.new).to be_valid
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
delayed_job_groups_plugin-0.8.0 spec/delayed/job_groups/job_extensions_spec.rb
delayed_job_groups_plugin-0.7.0 spec/delayed/job_groups/job_extensions_spec.rb
delayed_job_groups_plugin-0.6.2 spec/delayed/job_groups/job_extensions_spec.rb