diff --git a/spec/graphql/mutations/customers/update_spec.rb b/spec/graphql/mutations/customers/update_spec.rb index 1cc5dbcf398a..b9dfe816946c 100644 --- a/spec/graphql/mutations/customers/update_spec.rb +++ b/spec/graphql/mutations/customers/update_spec.rb @@ -132,7 +132,7 @@ expect(result_data['billingConfiguration']['id']).to eq("#{customer.id}-c0nf") expect(result_data['metadata'][0]['key']).to eq('test-key') expect(result_data['taxes'][0]['code']).to eq(tax.code) - expect(result_data['applicableInvoiceCustomSections']).to eq(invoice_custom_sections[0..1].map { |section| {'id' => section.id} }) + expect(result_data['applicableInvoiceCustomSections']).to match_array(invoice_custom_sections[0..1].map { |section| {'id' => section.id} }) end end