Sha256: ecd06e8aca608b3386141df0db8477086a04533e62bcbad02b54ca3b2e405cad

Contents?: true

Size: 446 Bytes

Versions: 5

Compression:

Stored size: 446 Bytes

Contents

require 'spec_helper'

describe Grape::Middleware::Versioner do
  let(:klass) { Grape::Middleware::Versioner }
  it 'should recognize :path' do
    klass.using(:path).should == Grape::Middleware::Versioner::Path
  end

  it 'should recognize :header' do
    klass.using(:header).should == Grape::Middleware::Versioner::Header
  end

  it 'should recognize :param' do
    klass.using(:param).should == Grape::Middleware::Versioner::Param
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
grape-0.2.1.1 spec/grape/middleware/versioner_spec.rb
grape-0.2.3 spec/grape/middleware/versioner_spec.rb
fragrant-0.0.5 vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/spec/grape/middleware/versioner_spec.rb
grape-0.2.2 spec/grape/middleware/versioner_spec.rb
grape-0.2.1 spec/grape/middleware/versioner_spec.rb