spec/mangopay/user_spec.rb in mangopay-3.24.0 vs spec/mangopay/user_spec.rb in mangopay-3.24.1
- old
+ new
@@ -142,10 +142,9 @@
it 'fetches card details' do
card = new_card_registration_completed
fetched = MangoPay::Card.fetch(card['CardId'])
expect(fetched['Id']).not_to be_nil
- expect(fetched['Id'].to_i).to be > 0
expect(fetched['UserId']).to eq(new_natural_user["Id"])
expect(fetched['Currency']).to eq('EUR')
end
end