Commit f99b0cc5 authored by Alexis Reigel's avatar Alexis Reigel

no need for a named parameter

parent a63792b7
class ProjectHook < WebHook
include TriggerableHooks
triggerable_hooks only: [
triggerable_hooks [
:push_hooks,
:tag_push_hooks,
:issue_hooks,
......
class SystemHook < WebHook
include TriggerableHooks
triggerable_hooks only: [
triggerable_hooks [
:repository_update_hooks,
:push_hooks,
:tag_push_hooks,
......
......@@ -4,7 +4,7 @@ RSpec.describe TriggerableHooks do
before do
class TestableHook < WebHook
include TriggerableHooks
triggerable_hooks only: [:push_hooks]
triggerable_hooks [:push_hooks]
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