Sha256: 7632021110b8908033730520b57709554cc9aa570d259f8db4274b9762c487af

Contents?: true

Size: 893 Bytes

Versions: 1

Compression:

Stored size: 893 Bytes

Contents

require "spec_helper"

describe Myfinance::Entities::Sale do
  it_behaves_like "entity_attributes", %i[
    api_related
    attachments
    attachments_count
    category_id
    classification_center_id
    confirmed_at
    created_at
    custom_classifications
    days_to_liquidation
    description
    discount_amount
    document
    document_emission_date
    estimated_liquidated_at
    fee_percentage
    fee_percentage_amount
    financial_account_id
    fixed_fee_amount
    id
    installment_count
    installment_number
    interest_amount
    issuer
    links
    liquidated_at
    liquidation_weekday
    nominal_amount
    net_amount
    observation
    occurred_at
    original_sale_id
    payment_method
    person_id
    provider_code
    receivable_amount
    sale_account_id
    status
    summary
    tax_charges
    ticket_amount
    total_amount
    updated_at
  ]
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
myfinance-1.6.5 spec/lib/myfinance/entities/sale_spec.rb