spec/mangopay/ubo_declaration_spec.rb in mangopay-3.0.33 vs spec/mangopay/ubo_declaration_spec.rb in mangopay-3.0.34

- old
+ new

@@ -6,12 +6,13 @@ it 'can fetch a UBO declaration' do legal_user = new_legal_user ubo_declaration = MangoPay::UboDeclaration.create(legal_user['Id']) - ubo_declaration = MangoPay::UboDeclaration.fetch(legal_user['Id'], ubo_declaration['Id']) + ubo_declaration_byId = MangoPay::UboDeclaration.fetch(legal_user['Id'], ubo_declaration['Id']) expect(ubo_declaration).not_to be_nil + expect(ubo_declaration_byId).not_to be_nil end describe 'UPDATE' do it 'can update a UBO declaration' do legal_user = new_legal_user