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