Skip to content
代码片段 群组 项目
提交 cc269e15 编辑于 作者: Kerri Miller's avatar Kerri Miller
浏览文件

Adds an additional test of search timeout logic

上级 f0e0b12b
No related branches found
No related tags found
无相关合并请求
...@@ -86,6 +86,13 @@ ...@@ -86,6 +86,13 @@
end end
context 'when an ActiveRecord::QueryCanceled is not raised' do context 'when an ActiveRecord::QueryCanceled is not raised' do
it 'does not set :search_timeout_occurred' do
get :merge_requests, params: { author_id: user.id }
expect(response).to have_gitlab_http_status(:ok)
expect(assigns(:search_timeout_occurred)).to eq(nil)
end
context 'rendering views' do context 'rendering views' do
render_views render_views
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册