Sha256: 84c9ff7180b540267da1793b67a9117f7a8b305d1f15fd2280cc1b97c7662845

Contents?: true

Size: 347 Bytes

Versions: 16

Compression:

Stored size: 347 Bytes

Contents

# encoding: utf-8
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

16 entries across 16 versions & 1 rubygems

Version Path
grape-1.0.1 spec/grape/exceptions/invalid_versioner_option_spec.rb
grape-1.0.0 spec/grape/exceptions/invalid_versioner_option_spec.rb
grape-0.19.2 spec/grape/exceptions/invalid_versioner_option_spec.rb
grape-0.19.1 spec/grape/exceptions/invalid_versioner_option_spec.rb
grape-0.19.0 spec/grape/exceptions/invalid_versioner_option_spec.rb
grape-0.18.0 spec/grape/exceptions/invalid_versioner_option_spec.rb
grape-0.17.0 spec/grape/exceptions/invalid_versioner_option_spec.rb
grape-0.16.2 spec/grape/exceptions/invalid_versioner_option_spec.rb
grape-0.16.1 spec/grape/exceptions/invalid_versioner_option_spec.rb
grape-0.15.0 spec/grape/exceptions/invalid_versioner_option_spec.rb
grape-0.14.0 spec/grape/exceptions/invalid_versioner_option_spec.rb
grape-0.13.0 spec/grape/exceptions/invalid_versioner_option_spec.rb
grape-0.12.0 spec/grape/exceptions/invalid_versioner_option_spec.rb
grape-0.11.0 spec/grape/exceptions/invalid_versioner_option_spec.rb
grape-0.10.1 spec/grape/exceptions/invalid_versioner_option_spec.rb
grape-0.10.0 spec/grape/exceptions/invalid_versioner_option_spec.rb