lib/ledger_sync/adaptors/test/expense/operations/create.rb in ledger_sync-1.3.1 vs lib/ledger_sync/adaptors/test/expense/operations/create.rb in ledger_sync-1.3.2
- old
+ new
@@ -10,10 +10,10 @@
schema do
required(:external_id).maybe(:string)
required(:ledger_id).value(:nil)
required(:account).hash(Types::Reference)
required(:entity).hash(Types::Reference)
- required(:currency).filled(:string)
+ required(:currency).filled(:hash, Types::Reference)
required(:memo).filled(:string)
required(:payment_type).filled(:string)
required(:transaction_date).filled(:date?)
required(:exchange_rate).maybe(:float)
required(:line_items).array(Types::Reference)