Mario de la Ossa
158514bba3
SlackService - respect `notify_only_default_branch` for push events
2018-03-02 09:15:35 -06:00
Sean McGivern
3fc0564ae0
Merge branch '41567-projectfix' into 'security-10-3'
...
check project access on MR create
See merge request gitlab/gitlabhq!2273
(cherry picked from commit 1fe2325d6ef2bced4c5e97b57691c894f38b2834)
43e85f49 check project access on MR create
2018-01-16 17:04:38 -08:00
Jacopo
c30f92464e
Replaces 'WikiPage::CreateService' calls with 'wiki_page' factory
...
We replace the usage of WikiPage::CreateService with the wiki_page factory in the specs.
2017-10-13 14:42:52 +02:00
Alexander Randa
e0ab5618a0
Wrong data type when testing webhooks
2017-07-20 15:12:06 +00:00
Grzegorz Bizon
0430b76441
Enable Style/DotPosition Rubocop 👮
2017-06-21 13:48:12 +00:00
Robert Speicher
a6ec5121f0
Correct RSpec/SingleLineHook cop offenses
2017-06-14 13:18:56 -05:00
Chris Wilson
52c8651a6c
Fix notify_only_default_branch check for Slack service
...
The notify_only_default_branch property is using boolean_accessor
this means we need to check it using a question methods.
Also add specs for disabling this option.
2017-05-08 15:55:02 +10:00
Z.J. van de Weg
091c260812
Improve readability and add test
2017-03-23 13:35:20 +01:00
Robert Speicher
fcb37542e7
Use `:empty_project` where possible in model specs
2017-01-26 17:44:59 -05:00
Felipe Artur
6dc3efdd98
Do not override incoming webhook channel for mattermost and slack
2016-12-22 16:16:10 -02:00
Kamil Trzcinski
0f2776287a
Use Slack::Notifier::LinkFormatter to convert markdown links to slack compat
2016-12-16 17:51:09 +01:00