Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
cd4d8b91
Commit
cd4d8b91
authored
Aug 12, 2016
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make explicit call for all event types for ProjectHook factory
parent
5822a333
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
spec/factories/project_hooks.rb
spec/factories/project_hooks.rb
+7
-9
No files found.
spec/factories/project_hooks.rb
View file @
cd4d8b91
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment