Skip to content
代码片段 群组 项目
提交 645a55f1 编辑于 作者: Rémy Coutable's avatar Rémy Coutable
浏览文件

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: default avatarRémy Coutable <remy@rymai.me>
上级 3574963b
No related branches found
No related tags found
无相关合并请求
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册