summaryrefslogtreecommitdiff
path: root/lib/api/variables.rb
diff options
context:
space:
mode:
authorYarNayar <YarTheGreat@gmail.com>2016-11-28 15:50:31 +0300
committerYarNayar <YarTheGreat@gmail.com>2016-12-12 14:36:36 +0300
commite941e96f33019fe86d84114ffb573872e12ee14a (patch)
tree0a567c522aada449471779bdc05b2f02f1cc1363 /lib/api/variables.rb
parent87f3a66c32f8cab6c814f81ec9dfea69f64d79cc (diff)
downloadgitlab-ce-e941e96f33019fe86d84114ffb573872e12ee14a.tar.gz
Make notification_service spec DRYer by making some tests reusable
The spec for 'participatns' notifications in notification_service for both issue and merge_request is pretty simple but it was fully copied without sagnificant changes 8 times (!!!) for EVERY situation you need to notify this group of user which caused to file to extra growth and not being very DRY. And I love DRY. Since the spec is already too messy and most likely gonna to increase the size nearest time, I decided to refactor those parts.
Diffstat (limited to 'lib/api/variables.rb')
0 files changed, 0 insertions, 0 deletions