Sha256: 35bb74b19ad2fb049a809c1ac922f047eb3447f0746ee1480570d4e8c4037289
Contents?: true
Size: 584 Bytes
Versions: 2
Compression:
Stored size: 584 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 it 'recognizes :accept_version_header' do klass.using(:accept_version_header).should == Grape::Middleware::Versioner::AcceptVersionHeader end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
grape-0.6.0 | spec/grape/middleware/versioner_spec.rb |
grape-0.5.0 | spec/grape/middleware/versioner_spec.rb |