spec/shared_contexts/with_check.rb in onfido-3.4.0 vs spec/shared_contexts/with_check.rb in onfido-4.0.0
- old
+ new
@@ -8,9 +8,10 @@
let(:check_builder) do
Onfido::CheckBuilder.new({
applicant_id: applicant_id,
document_ids: [document_id],
report_names: [Onfido::ReportName::DOCUMENT, Onfido::ReportName::IDENTITY_ENHANCED],
+ privacy_notices_read_consent_given: true
})
end
let(:check) { onfido_api.create_check(check_builder) }
let!(:check_id) { check.id }