Sha256: 5930c8bbd7746edd60d07ac4dde68e08a633d3a6d8bcebf8e5411f8afb0304d0
Contents?: true
Size: 479 Bytes
Versions: 1
Compression:
Stored size: 479 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe BitBucket::Error::BlankValue 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, 'required_key' } .to raise_error( BitBucket::Error::BlankValue, "The value for: 'required_key', cannot be blank :(" ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bitbuckets-0.2.0 | spec/bitbucket_rest_api/error/blank_value_spec.rb |