Sha256: 3fc7da17e5bfffe79835de1f92817850ff90ad90407248e356d86ff322e6629f
Contents?: true
Size: 336 Bytes
Versions: 16
Compression:
Stored size: 336 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Grape::Exceptions::InvalidFormatter do describe '#message' do let(:error) do described_class.new(String, 'xml') end it 'contains the problem in the message' do expect(error.message).to include( 'cannot convert String to xml' ) end end end
Version data entries
16 entries across 16 versions & 1 rubygems