Sha256: 411240294961119367eb6902abd9f012558224bb9bd8f6381ea2349fd56979fe
Contents?: true
Size: 485 Bytes
Versions: 4
Compression:
Stored size: 485 Bytes
Contents
# frozen_string_literal: true require_relative '../shared_contexts/with_applicant' RSpec.shared_context 'with document', shared_context: :metadata do include_context 'with applicant' let(:document_file_name) { 'sample_driving_licence.png' } let(:document_file) { File.open("spec/integrations/media/#{document_file_name}") } let(:document) { onfido_api.upload_document(Onfido::DocumentTypes::PASSPORT, applicant_id, document_file) } let!(:document_id) { document.id } end
Version data entries
4 entries across 4 versions & 1 rubygems