Sha256: 7a6a5cdb3cce9e5dc35cc97853919305a00b8ffb6de8ece23f4ef04ef148cb41
Contents?: true
Size: 317 Bytes
Versions: 3
Compression:
Stored size: 317 Bytes
Contents
# frozen_string_literal: true describe Grape::Exceptions::MissingOption do describe '#message' do let(:error) do described_class.new(:path) end it 'contains the problem in the message' do expect(error.message).to include( 'you must specify :path options' ) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
grape-1.8.0 | spec/grape/exceptions/missing_option_spec.rb |
grape-1.7.1 | spec/grape/exceptions/missing_option_spec.rb |
grape-1.7.0 | spec/grape/exceptions/missing_option_spec.rb |