Sha256: 0921fe334de5ef6ab554dc98e2593990f5eff2b93939654cc0cb684b0a857710

Contents?: true

Size: 532 Bytes

Versions: 10

Compression:

Stored size: 532 Bytes

Contents

# frozen_string_literal: true

require_relative '../shared_contexts/with_applicant'

RSpec.shared_context 'with workflow run', shared_context: :metadata do
  include_context 'with applicant'

  let(:workflow_id) { 'e8c921eb-0495-44fe-b655-bcdcaffdafe5' }

  let(:workflow_run_builder) do
    Onfido::WorkflowRunBuilder.new({
      applicant_id: applicant_id,
      workflow_id: workflow_id,
    })
  end

  let(:workflow_run) { onfido_api.create_workflow_run(workflow_run_builder) }
  let!(:workflow_run_id) { workflow_run.id }
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
onfido-4.3.0 spec/shared_contexts/with_workflow_run.rb
onfido-4.2.0 spec/shared_contexts/with_workflow_run.rb
onfido-4.1.0 spec/shared_contexts/with_workflow_run.rb
onfido-4.0.0 spec/shared_contexts/with_workflow_run.rb
onfido-3.4.0 spec/shared_contexts/with_workflow_run.rb
onfido-3.3.1 spec/shared_contexts/with_workflow_run.rb
onfido-3.3.0 spec/shared_contexts/with_workflow_run.rb
onfido-3.2.0 spec/shared_contexts/with_workflow_run.rb
onfido-3.1.0 spec/shared_contexts/with_workflow_run.rb
onfido-3.0.0 spec/shared_contexts/with_workflow_run.rb