Sha256: f6f3d4df99390e65fe105d87bcbd82a588ff2aadd52ec95d83d790963491c708
Contents?: true
Size: 440 Bytes
Versions: 7
Compression:
Stored size: 440 Bytes
Contents
shared_examples 'a better HTTP response handling' do it 'raises an Pushbullet::Error with the message' do VCR.use_cassette('get_error', match_requests_on: [:host]) do expect { request }.to raise_error(Pushbullet::Error) end end it 'does not raise an Pushbullet::Error with the message' do VCR.use_cassette('contacts_all', match_requests_on: [:host]) do expect { request }.not_to raise_error end end end
Version data entries
7 entries across 5 versions & 2 rubygems