Sha256: 645aeb1e5ca870d625d67471e6e7190e82eae86a3ff55ad4311be0c8dcab5420
Contents?: true
Size: 960 Bytes
Versions: 1
Compression:
Stored size: 960 Bytes
Contents
require_relative '../../spec_helper' describe MangoPay::Card do # TODO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # include_context 'users' # include_context 'card' # describe 'CREATE' do # it 'creates a new card' do #pp new_card # expect(new_card['Id']).not_to be_nil # expect(new_card['Id'].to_i).to be > 0 # expect(new_card['Currency']).to eq('EUR') # end # end # # describe 'UPDATE' do # it 'updates a card' do # updated = MangoPay::Card.update(new_card['Id'] ,{ # ___SomeProperty___: 'test value of ___SomeProperty___' # }) # expect(updated['___SomeProperty___']).to eq('test value of ___SomeProperty___') # end # end # # describe 'FETCH' do # it 'fetches a card' do # fetched = MangoPay::Card.fetch(new_card['Id']) # expect(fetched['Id']).to eq(new_card['Id']) # expect(fetched['Tag']).to eq(new_card['Tag']) # end # end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mangopay-3.0.1 | spec/lib/mangopay/card_spec.rb |