summaryrefslogtreecommitdiff
path: root/spec/fixtures
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-08-10 17:51:01 +0200
committerRémy Coutable <remy@rymai.me>2016-08-13 00:06:12 +0200
commit65349c22129fcdf2ae0c7103094bbf50ae73db61 (patch)
tree5e2f6c4926a979d2a20665e4ce3e3453ee82ccb0 /spec/fixtures
parent23db6449542498636c145e83c71a4a466eb62746 (diff)
downloadgitlab-ce-65349c22129fcdf2ae0c7103094bbf50ae73db61.tar.gz
Make slash commands contextual
- Return only slash commands that make sense for the current noteable - Allow slash commands decription to be dynamic Other improvements: - Add permission checks in slash commands definition - Use IssuesFinder and MergeRequestsFinder - Use next if instead of a unless block, and use splat operator instead of flatten Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/fixtures')
-rw-r--r--spec/fixtures/emails/commands_only_reply.eml2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/fixtures/emails/commands_only_reply.eml b/spec/fixtures/emails/commands_only_reply.eml
index b64d851a79c..ccd92e406c4 100644
--- a/spec/fixtures/emails/commands_only_reply.eml
+++ b/spec/fixtures/emails/commands_only_reply.eml
@@ -20,7 +20,7 @@ X-Received: by 10.0.0.1 with SMTP id n7mr11234144ipb.85.1371157428600; Thu,
X-Scanned-By: MIMEDefang 2.69 on IPv6:2001:470:1d:165::1
/close
-/unsubscribe
+/todo
On Sun, Jun 9, 2013 at 1:39 PM, eviltrout via Discourse Meta