spec/grape/middleware/versioner_spec.rb in grape-0.4.1 vs spec/grape/middleware/versioner_spec.rb in grape-0.5.0
- old
+ new
@@ -14,6 +14,9 @@
it 'recognizes :param' do
klass.using(:param).should == Grape::Middleware::Versioner::Param
end
-end
\ No newline at end of file
+ it 'recognizes :accept_version_header' do
+ klass.using(:accept_version_header).should == Grape::Middleware::Versioner::AcceptVersionHeader
+ end
+end