Sha256: 6a4664d4d839832fff0a2d8aa1109ba61d1c46490ac075cb74b4c0fa88edf65a

Contents?: true

Size: 329 Bytes

Versions: 11

Compression:

Stored size: 329 Bytes

Contents

require 'spec_helper'

describe Grape::Exceptions::InvalidVersionerOption do
  describe '#message' do
    let(:error) do
      described_class.new('headers')
    end

    it 'contains the problem in the message' do
      expect(error.message).to include(
        'Unknown :using for versioner: headers'
      )
    end
  end
end

Version data entries

11 entries across 11 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_versioner_option_spec.rb
grape-extra_validators-1.0.0 vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/exceptions/invalid_versioner_option_spec.rb
grape-1.2.5 spec/grape/exceptions/invalid_versioner_option_spec.rb
grape-1.2.4 spec/grape/exceptions/invalid_versioner_option_spec.rb
grape-1.2.3 spec/grape/exceptions/invalid_versioner_option_spec.rb
grape-1.2.2 spec/grape/exceptions/invalid_versioner_option_spec.rb
grape-1.2.1 spec/grape/exceptions/invalid_versioner_option_spec.rb
grape-1.2.0 spec/grape/exceptions/invalid_versioner_option_spec.rb
grape-1.1.0 spec/grape/exceptions/invalid_versioner_option_spec.rb
grape-1.0.3 spec/grape/exceptions/invalid_versioner_option_spec.rb
grape-1.0.2 spec/grape/exceptions/invalid_versioner_option_spec.rb