spec/lib/myfinance/resources/payable_account_spec.rb in myfinance-1.4.0 vs spec/lib/myfinance/resources/payable_account_spec.rb in myfinance-1.4.1

- old
+ new

@@ -114,10 +114,11 @@ expect(subject.parcelled).to be_falsy expect(subject.recurrence_period).to be_nil expect(subject.number_of_parcels).to be_nil expect(subject.current_parcel).to be_nil expect(subject.competency_month).to eq("2015-08") - expect(subject.tax_charges_attributes).to be_empty + expect(subject.tax_charges).to be_empty + expect(subject.financial_account_taxes_attributes).to be_empty end context "when the payable_account has occurred_at value defined" do let(:params) { { due_date: '2015-08-01', amount: 150.99, occurred_at: '2015-08-05', total_amount: 150.99 } }