diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-10-23 12:19:56 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-10-23 17:00:41 +0300 |
commit | b612bcfc64618906b5b11a245fb0aa2452d6c5dd (patch) | |
tree | 2b591e6c43a60f8f36d680458addecbad3f2db6c /config/environments | |
parent | 04149dccab97aad4350cae9a6c6054b7de5c9850 (diff) | |
download | gitlab-ce-b612bcfc64618906b5b11a245fb0aa2452d6c5dd.tar.gz |
implement basic request inspector for use in Capybara tests
Diffstat (limited to 'config/environments')
-rw-r--r-- | config/environments/test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/environments/test.rb b/config/environments/test.rb index 1edb6fd39b8..d09e51e766a 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -1,6 +1,7 @@ Rails.application.configure do # Make sure the middleware is inserted first in middleware chain config.middleware.insert_before('ActionDispatch::Static', 'Gitlab::Testing::RequestBlockerMiddleware') + config.middleware.insert_before('ActionDispatch::Static', 'Gitlab::Testing::RequestInspectorMiddleware') # Settings specified here will take precedence over those in config/application.rb |