Sha256: 81c57dd7780911f8f1879e3d70e05056b8fa956f9cc27e54913372761dbd9cf3
Contents?: true
Size: 508 Bytes
Versions: 10
Compression:
Stored size: 508 Bytes
Contents
# frozen_string_literal: true require_relative '../shared_contexts/with_applicant' RSpec.shared_context 'with live photo', shared_context: :metadata do include_context 'with applicant' let(:live_photo_file_name) { 'sample_photo.png' } let(:live_photo_file) { File.open("spec/integrations/media/#{live_photo_file_name}") } let(:live_photo) do onfido_api.upload_live_photo( applicant_id: applicant_id, file: live_photo_file, ) end let!(:live_photo_id) { live_photo.id } end
Version data entries
10 entries across 10 versions & 1 rubygems