Commit 1009293e authored by Thong Kuah's avatar Thong Kuah

Merge branch 'frozen-string-enable-lib-gitlab-middleware' into 'master'

Enable frozen string for middleware specs

See merge request gitlab-org/gitlab!20692
parents 36aea048 c34442e4
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Gitlab::Middleware::Go do describe Gitlab::Middleware::Go do
...@@ -25,7 +27,7 @@ describe Gitlab::Middleware::Go do ...@@ -25,7 +27,7 @@ describe Gitlab::Middleware::Go do
describe 'when go-get=1' do describe 'when go-get=1' do
before do before do
env['QUERY_STRING'] = 'go-get=1' env['QUERY_STRING'] = 'go-get=1'
env['PATH_INFO'] = "/#{path}" env['PATH_INFO'] = +"/#{path}"
end end
shared_examples 'go-get=1' do |enabled_protocol:| shared_examples 'go-get=1' do |enabled_protocol:|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment