no need for a named parameter

This commit is contained in:
Alexis Reigel 2017-12-04 15:45:47 +01:00
parent a63792b724
commit f99b0cc585
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
class ProjectHook < WebHook
include TriggerableHooks
triggerable_hooks only: [
triggerable_hooks [
:push_hooks,
:tag_push_hooks,
:issue_hooks,

View File

@ -1,7 +1,7 @@
class SystemHook < WebHook
include TriggerableHooks
triggerable_hooks only: [
triggerable_hooks [
:repository_update_hooks,
:push_hooks,
:tag_push_hooks,

View File

@ -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