From 3a85147887fa4f959eb4a3ed342a17a52da1e9dc Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Mon, 13 Nov 2017 05:30:13 +0200 Subject: [PATCH] Revert fixtures from #509 --- test/fixtures/invoice_items.yml | 2 +- test/fixtures/invoices.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/fixtures/invoice_items.yml b/test/fixtures/invoice_items.yml index c99e3bd13..417203a51 100644 --- a/test/fixtures/invoice_items.yml +++ b/test/fixtures/invoice_items.yml @@ -1,6 +1,6 @@ DEFAULTS: &DEFAULTS description: Acme services - quantity: 2 + amount: 2 unit: pc price: 5 diff --git a/test/fixtures/invoices.yml b/test/fixtures/invoices.yml index cfebd2525..7a1c85dd1 100644 --- a/test/fixtures/invoices.yml +++ b/test/fixtures/invoices.yml @@ -1,19 +1,19 @@ DEFAULTS: &DEFAULTS created_at: <%= Date.parse '2010-07-05' %> due_date: <%= Date.parse '2010-07-06' %> + invoice_type: DEB currency: EUR seller_name: John Doe seller_iban: 1234 buyer_name: Jane Doe - vat_rate: 0.2 - total: 20 + vat_prc: 0.2 valid: <<: *DEFAULTS exported: <<: *DEFAULTS - exported: true + in_directo: true cancelled: <<: *DEFAULTS @@ -21,7 +21,7 @@ cancelled: paid: <<: *DEFAULTS - total: 1 + sum_cache: 1 outstanding: <<: *DEFAULTS