gitlab-org--gitlab-foss/config/environments
Rémy Coutable 645a55f19b Introduce a new middleware for the test environment that can block requests
The idea is that after each feature spec example, we block all incoming
requests at the Rack level, go to the 'about:blank' page, and wait until
the current requests reach 0.

This should solve the problem where a request would end after database
cleaner performed the database truncation. The problem was that a GET
request can still lead to records creation (e.g. namespaces or routes).

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-22 19:45:21 +01:00
..
development.rb Remove quiet_assets in favor of built-in sprockets-rails config. 2016-06-30 16:18:05 -06:00
production.rb
test.rb Introduce a new middleware for the test environment that can block requests 2017-03-22 19:45:21 +01:00