no need for a named parameter
This commit is contained in:
parent
a63792b724
commit
f99b0cc585
|
@ -1,7 +1,7 @@
|
|||
class ProjectHook < WebHook
|
||||
include TriggerableHooks
|
||||
|
||||
triggerable_hooks only: [
|
||||
triggerable_hooks [
|
||||
:push_hooks,
|
||||
:tag_push_hooks,
|
||||
:issue_hooks,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue