Sha256: 3480ac4afadb0d993f29516f9969af1c0e485016beb5393794815faa596ba31f
Contents?: true
Size: 492 Bytes
Versions: 4
Compression:
Stored size: 492 Bytes
Contents
require_relative '../spec_helper' describe 'Request timeout exception' do before(:all) do @merchant_id='mywvupjjs9xdnryxtplq' @private_key='sk_92b25d3baec149e6b428d81abfe37006' #LOG.level=Logger::DEBUG @openpay=OpenpayApi.new(@merchant_id, @private_key, false, 0) @charges=@openpay.create(:charges) end it 'raise an OpenpayConnectionException when the operation timeouts' do expect{@charges.all}.to raise_error(OpenpayConnectionException) end end
Version data entries
4 entries across 4 versions & 1 rubygems