Skip to content
代码片段 群组 项目
未验证 提交 8fab9d51 编辑于 作者: Siddharth Dungarwal's avatar Siddharth Dungarwal 提交者: GitLab
浏览文件

Merge branch '474157-fix-flaky-test' into 'master'

No related branches found
No related tags found
无相关合并请求
......@@ -694,8 +694,9 @@
it 'does not call track! for work_items that should not be indexed' do
expect(logger).to receive(:info).with(/Indexing work_items/).twice
expect(Elastic::ProcessBookkeepingService).to receive(:track!).with(work_item_1, work_item_3)
expect(Elastic::ProcessBookkeepingService).to receive(:track!) do |*work_items|
expect(work_items).to match_array([work_item_1, work_item_3])
end
service.execute(:index_work_items)
end
end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册