Sha256: 4f90459a2964a21f04ad0a72576244f10a8c4c9e8cd33059d63e58bc35eb41ac
Contents?: true
Size: 585 Bytes
Versions: 3
Compression:
Stored size: 585 Bytes
Contents
require_relative 'dispute_context' require_relative '../../lib/mangopay/model/entity/dispute_document' require_relative '../../lib/mangopay/model/enum/dispute_document_type' shared_context 'dispute_document_context' do include_context 'dispute_context' DISPUTE_DOCUMENT_DATA ||= build_dispute_document DISPUTE_DOCUMENT_PERSISTED ||= persisted_dispute_doc end def persisted_dispute_doc MangoApi::DisputeDocuments.all[0] end def build_dispute_document document = MangoModel::DisputeDocument.new document.type = MangoModel::DisputeDocumentType::REFUND_PROOF document end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mangopay-v4-4.1.0 | spec/context/dispute_document_context.rb |
mangopay-v4-4.0.2 | spec/context/dispute_document_context.rb |
mangopay-v4-4.0.1 | spec/context/dispute_document_context.rb |