spec/grape/middleware/versioner_spec.rb in grape-1.6.0 vs spec/grape/middleware/versioner_spec.rb in grape-1.6.1

- old
+ new

@@ -1,10 +1,10 @@ # frozen_string_literal: true require 'spec_helper' describe Grape::Middleware::Versioner do - let(:klass) { Grape::Middleware::Versioner } + let(:klass) { described_class } it 'recognizes :path' do expect(klass.using(:path)).to eq(Grape::Middleware::Versioner::Path) end