File tree 1 file changed +20
-0
lines changed 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 22
22
expect ( prediction . invoice_number . bounding_box ) . to be_nil
23
23
expect ( prediction . date . value ) . to be_nil
24
24
expect ( prediction . date . page_id ) . to be_nil
25
+ expect ( prediction . locale . value ) . to be_nil
26
+ expect ( prediction . total_amount . value ) . to be_nil
27
+ expect ( prediction . total_net . value ) . to be_nil
28
+ expect ( prediction . total_tax . value ) . to be_nil
29
+ expect ( prediction . billing_address . value ) . to be_nil
30
+ expect ( prediction . due_date . value ) . to be_nil
31
+ expect ( prediction . document_number . value ) . to be_nil
32
+ expect ( prediction . document_type . value ) . to eq ( 'EXPENSE RECEIPT' )
33
+ expect ( prediction . document_type_extended . value ) . to eq ( 'EXPENSE RECEIPT' )
34
+ expect ( prediction . supplier_name . value ) . to be_nil
35
+ expect ( prediction . supplier_address . value ) . to be_nil
36
+ expect ( prediction . customer_id . value ) . to be_nil
37
+ expect ( prediction . customer_name . value ) . to be_nil
38
+ expect ( prediction . customer_address . value ) . to be_nil
39
+ expect ( prediction . customer_company_registrations . length ) . to eq ( 0 )
40
+ expect ( prediction . taxes . length ) . to eq ( 0 )
41
+ expect ( prediction . supplier_payment_details . length ) . to eq ( 0 )
42
+ expect ( prediction . supplier_company_registrations . length ) . to eq ( 0 )
43
+ expect ( prediction . tip . value ) . to be_nil
44
+ expect ( prediction . time . value ) . to be_nil
25
45
end
26
46
27
47
it 'should load a complete document prediction' do
You can’t perform that action at this time.
0 commit comments