spec/grape/dsl/middleware_spec.rb in grape-1.5.3 vs spec/grape/dsl/middleware_spec.rb in grape-1.6.0
- old
+ new
@@ -10,10 +10,10 @@
end
end
describe Middleware do
subject { Class.new(MiddlewareSpec::Dummy) }
- let(:proc) { ->() {} }
+ let(:proc) { -> {} }
let(:foo_middleware) { Class.new }
let(:bar_middleware) { Class.new }
describe '.use' do
it 'adds a middleware with the right operation' do