Sha256: c4ab4787dcb83dd545ad886ec4700f26c4edb13f328d98ee9dfb52cba5bed3f8

Contents?: true

Size: 937 Bytes

Versions: 2

Compression:

Stored size: 937 Bytes

Contents

require "spec_helper"

describe Myfinance::Entities::Sale do
  it_behaves_like "entity_attributes", %i[
    amount_difference
    attachments
    attachments_count
    category_id
    classification_center_id
    competency_month
    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
    installments
    interest_amount
    issuer
    links
    liquidated_at
    liquidation_weekday
    net_amount
    nominal_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

2 entries across 2 versions & 1 rubygems

Version Path
myfinance-1.7.0 spec/lib/myfinance/entities/sale_spec.rb
myfinance-1.6.6 spec/lib/myfinance/entities/sale_spec.rb