Sha256: 5eb9d6fff074753f1a4f6bcc2c5f01e113c4b6e2ebe9f77de8bb9d632cba94a0
Contents?: true
Size: 490 Bytes
Versions: 11
Compression:
Stored size: 490 Bytes
Contents
describe MangoPay::Configuration do it 'fails when calling with wrong client credentials' do expect { c = MangoPay.configuration c.client_id = 'test_asd' c.client_passphrase = '00000' MangoPay::User.fetch() }.to raise_error(MangoPay::ResponseError) end it 'goes ok when calling with correct client credentials' do reset_mangopay_configuration users = MangoPay::User.fetch() expect(users).to be_kind_of(Array) end end
Version data entries
11 entries across 11 versions & 1 rubygems