Sha256: 2ef80402204e68abc44cd5b13c042d053f05f46e0feda9b8864ff7c352cd4b54

Contents?: true

Size: 267 Bytes

Versions: 5

Compression:

Stored size: 267 Bytes

Contents

# frozen_string_literal: true

describe "delayed job extensions" do
  it "provides an optional job_group_id" do
    job_group = create(:job_group)
    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

5 entries across 5 versions & 1 rubygems

Version Path
delayed_job_groups_plugin-0.12.0 spec/delayed/job_groups/job_extensions_spec.rb
delayed_job_groups_plugin-0.11.0 spec/delayed/job_groups/job_extensions_spec.rb
delayed_job_groups_plugin-0.10.1 spec/delayed/job_groups/job_extensions_spec.rb
delayed_job_groups_plugin-0.10.0 spec/delayed/job_groups/job_extensions_spec.rb
delayed_job_groups_plugin-0.9.0 spec/delayed/job_groups/job_extensions_spec.rb