spec/lib/myfinance/entities/payable_account_spec.rb in myfinance-1.4.1 vs spec/lib/myfinance/entities/payable_account_spec.rb in myfinance-1.5.0
- old
+ new
@@ -1,14 +1,14 @@
require 'spec_helper'
describe Myfinance::Entities::PayableAccount do
subject { described_class.new({}) }
- it_behaves_like "entity_attributes", [
- :id, :entity_id, :status, :status_name, :due_date, :occurred_at, :ticket_amount, :interest_amount, :amount,
- :discount_amount, :total_amount, :description, :document, :document_emission_date, :observation, :remind,
- :reminded_at, :income_tax_relevant, :category_id, :classification_center_id, :expected_deposit_account_id,
- :recurrence_id, :person_id, :recurrent, :parcelled, :recurrence_period, :number_of_parcels, :current_parcel,
- :competency_month, :financial_account_taxes_attributes, :tax_charges, :reconciliations,
- :links, :created_at, :updated_at
+ it_behaves_like "entity_attributes", %i[
+ id entity_id status status_name due_date occurred_at ticket_amount interest_amount amount
+ discount_amount total_amount description document document_emission_date observation remind
+ reminded_at income_tax_relevant category_id classification_center_id expected_deposit_account_id
+ recurrence_id person_id recurrent parcelled recurrence_period number_of_parcels current_parcel
+ competency_month financial_account_taxes_attributes tax_charges reconciliations
+ links created_at updated_at custom_classifications
]
end