spec/grape/middleware/versioner_spec.rb in grape-0.2.3 vs spec/grape/middleware/versioner_spec.rb in grape-0.2.4

- old
+ new

@@ -1,16 +1,19 @@ require 'spec_helper' describe Grape::Middleware::Versioner do + let(:klass) { Grape::Middleware::Versioner } - it 'should recognize :path' do + + it 'recognizes :path' do klass.using(:path).should == Grape::Middleware::Versioner::Path end - it 'should recognize :header' do + it 'recognizes :header' do klass.using(:header).should == Grape::Middleware::Versioner::Header end - it 'should recognize :param' do + it 'recognizes :param' do klass.using(:param).should == Grape::Middleware::Versioner::Param end + end \ No newline at end of file