Commit c121775c authored by Sean McGivern's avatar Sean McGivern

Merge branch 'fix/audit-logs-flaky-spec' into 'master'

Fix audit logs spec failing on master

See merge request !2069
parents 7390772c a5af32ed
......@@ -56,11 +56,10 @@ describe 'Admin::AuditLogs', feature: true, js: true do
end
describe 'project events' do
let(:project) { create(:empty_project) }
let(:project_member) { create(:project_member, user: user) }
before do
AuditEventService.new(user, project, { action: :destroy }).
AuditEventService.new(user, project_member.project, { action: :destroy }).
for_member(project_member).security_event
visit admin_audit_logs_path
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment