Skip to content
代码片段 群组 项目
未验证 提交 4a8f195e 编辑于 作者: Ahmed Hemdan's avatar Ahmed Hemdan
浏览文件

Fix flaky test in project security exclusion resolver

上级 b536eccb
No related branches found
No related tags found
无相关合并请求
......@@ -92,15 +92,15 @@
expect(resolver).to contain_exactly(active_exclusion)
end
end
end
context 'for a role that cannot read security exclusions' do
before_all do
project.add_reporter(user)
end
context 'for a role that cannot read security exclusions' do
before_all do
project.add_reporter(user)
end
it 'returns no exclusions' do
expect(resolver).to be_empty
end
it 'returns no exclusions' do
expect(resolver).to be_empty
end
end
end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册