Sha256: 986824f728dda548f2679a1d991ed6ba281c4175767ac40eebe7cdcdbcfc54c0
Contents?: true
Size: 334 Bytes
Versions: 9
Compression:
Stored size: 334 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 error.message.should include( "cannot convert String to xml" ) end end end
Version data entries
9 entries across 9 versions & 1 rubygems