Sha256: 2af43d4d98267daea778cede408deb97e70d5b9b116e0e54d91464f6eea99616

Contents?: true

Size: 433 Bytes

Versions: 8

Compression:

Stored size: 433 Bytes

Contents

require 'spec_helper'

describe Grape::Middleware::Versioner do
  
  let(:klass) { Grape::Middleware::Versioner }

  it 'recognizes :path' do
    klass.using(:path).should == Grape::Middleware::Versioner::Path
  end

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

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

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
grape-0.4.1 spec/grape/middleware/versioner_spec.rb
grape-0.4.0 spec/grape/middleware/versioner_spec.rb
grape-0.3.2 spec/grape/middleware/versioner_spec.rb
grape-0.3.1 spec/grape/middleware/versioner_spec.rb
grape-0.3.0 spec/grape/middleware/versioner_spec.rb
grape-0.2.6 spec/grape/middleware/versioner_spec.rb
grape-0.2.5 spec/grape/middleware/versioner_spec.rb
grape-0.2.4 spec/grape/middleware/versioner_spec.rb