Sha256: 1cf50e320afcaf7522f2d8a3d6945230bfd50fee3f56f3bb795931cdca8f086b
Contents?: true
Size: 582 Bytes
Versions: 2
Compression:
Stored size: 582 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.7.0 | spec/grape/middleware/versioner_spec.rb |
grape-0.6.1 | spec/grape/middleware/versioner_spec.rb |