Sha256: dd2497d9dc5efee099e03ce684661ca27034ae1cd78ab66c5e157c2944d99569

Contents?: true

Size: 261 Bytes

Versions: 8

Compression:

Stored size: 261 Bytes

Contents

require 'spec_helper'

describe Grape::Exceptions::InvalidResponse do
  describe '#message' do
    let(:error) { described_class.new }

    it 'contains the problem in the message' do
      expect(error.message).to include('Invalid response')
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
grape-extra_validators-2.0.0 vendor/bundle/ruby/2.6.0/gems/grape-1.2.5/spec/grape/exceptions/invalid_response_spec.rb
grape-extra_validators-1.0.0 vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/exceptions/invalid_response_spec.rb
grape-1.2.5 spec/grape/exceptions/invalid_response_spec.rb
grape-1.2.4 spec/grape/exceptions/invalid_response_spec.rb
grape-1.2.3 spec/grape/exceptions/invalid_response_spec.rb
grape-1.2.2 spec/grape/exceptions/invalid_response_spec.rb
grape-1.2.1 spec/grape/exceptions/invalid_response_spec.rb
grape-1.2.0 spec/grape/exceptions/invalid_response_spec.rb