Sha256: d3b14c10ef19e00aece06da8e717bd74b52d62bfc948e261759558ca794fb40a
Contents?: true
Size: 436 Bytes
Versions: 1
Compression:
Stored size: 436 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe BitBucket::Error::BadEvents do context 'an event that does not exist is 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, 'bad:event' } .to raise_error(BitBucket::Error::BadEvents, "The event: 'bad:event', does not exist :(") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bitbuckets-0.2.0 | spec/bitbucket_rest_api/error/bad_events_spec.rb |