Sha256: e7ebe95f8ab9cd08a82b3ec0fd58e6c2f3143190a36a2ffce0087c06eef798f3
Contents?: true
Size: 312 Bytes
Versions: 49
Compression:
Stored size: 312 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' describe LHC::Error do context 'timeout' do it 'throws timeout exception in case of a timeout' do stub_request(:any, 'local.ch').to_timeout expect(lambda { LHC.get('local.ch') }).to raise_error LHC::Timeout end end end
Version data entries
49 entries across 49 versions & 1 rubygems