Sha256: 2a8763a5a5168c269e14e3e1d768026451b07d83e29d84ea67211ff20da4c96a
Contents?: true
Size: 338 Bytes
Versions: 3
Compression:
Stored size: 338 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
3 entries across 3 versions & 2 rubygems