Commit a5af32ed authored by James Lopez's avatar James Lopez

fix spec random failures

parent 7390772c
......@@ -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