Commit cd4d8b91 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Make explicit call for all event types for ProjectHook factory

parent 5822a333
......@@ -7,15 +7,13 @@ FactoryGirl.define do
end
trait :all_events_enabled do
%w[push_events
merge_requests_events
tag_push_events
issues_events
note_events
build_events
pipeline_events].each do |event|
send(event, true)
end
push_events true
merge_requests_events true
tag_push_events true
issues_events true
note_events true
build_events true
pipeline_events true
end
end
end
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