Sha256: e4589e4460417c7398d913a2465b999667adb525021b209b957d40bd93315936
Contents?: true
Size: 379 Bytes
Versions: 9
Compression:
Stored size: 379 Bytes
Contents
require 'spec_helper' describe BitBucket::Error::NoEvents do context 'no events are passed in BitBucket::Repos::Webhooks#create or BitBucket::Repos::Webhooks#edit' do it 'should raise an error with a message' do expect { raise described_class.new }. to raise_error(BitBucket::Error::NoEvents, "At least one event is required, none given :(") end end end
Version data entries
9 entries across 9 versions & 2 rubygems