Sha256: 3d6c6d1227fea854592385697f8b2e2ce9292fd24c94492bcbd67d82c76f8141

Contents?: true

Size: 403 Bytes

Versions: 15

Compression:

Stored size: 403 Bytes

Contents

require 'job_uniqueness/spec_helper'

RSpec.describe CanvasSync::JobUniqueness::OnConflict::Raise do
  include_context "on_conflict specs"
  include_examples "OnConflict is compatible with", %i[until_executing while_executing until_executed until_and_while_executing until_expired]

  it "raises an error" do
    expect { on_conflict.call }.to raise_error(CanvasSync::JobUniqueness::Conflict)
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
canvas_sync-0.22.6 spec/job_uniqueness/on_conflict/raise_spec.rb
canvas_sync-0.22.5 spec/job_uniqueness/on_conflict/raise_spec.rb
canvas_sync-0.22.4 spec/job_uniqueness/on_conflict/raise_spec.rb
canvas_sync-0.22.3 spec/job_uniqueness/on_conflict/raise_spec.rb
canvas_sync-0.22.2 spec/job_uniqueness/on_conflict/raise_spec.rb
canvas_sync-0.22.1 spec/job_uniqueness/on_conflict/raise_spec.rb
canvas_sync-0.22.0 spec/job_uniqueness/on_conflict/raise_spec.rb
canvas_sync-0.22.0.beta8 spec/job_uniqueness/on_conflict/raise_spec.rb
canvas_sync-0.22.0.beta7 spec/job_uniqueness/on_conflict/raise_spec.rb
canvas_sync-0.22.0.beta6 spec/job_uniqueness/on_conflict/raise_spec.rb
canvas_sync-0.22.0.beta5 spec/job_uniqueness/on_conflict/raise_spec.rb
canvas_sync-0.22.0.beta4 spec/job_uniqueness/on_conflict/raise_spec.rb
canvas_sync-0.22.0.beta3 spec/job_uniqueness/on_conflict/raise_spec.rb
canvas_sync-0.22.0.beta2 spec/job_uniqueness/on_conflict/raise_spec.rb
canvas_sync-0.22.0.beta1 spec/job_uniqueness/on_conflict/raise_spec.rb