Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-08-17 03:59:55 +0300
committerDouwe Maan <douwe@selenight.nl>2016-08-18 01:54:24 +0300
commit8b8a4626c601a13683599fd1a127e2c502af38a3 (patch)
tree5478e3356c4ab3a02923cb48c8271a97273959fa /app/services/slash_commands
parente07c27fee427195d8d89f6278d0fc12dfeec3588 (diff)
Fix specs and implement fixes based on failing specs
Diffstat (limited to 'app/services/slash_commands')
-rw-r--r--app/services/slash_commands/interpret_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/slash_commands/interpret_service.rb b/app/services/slash_commands/interpret_service.rb
index 126f97b0f9b..cb0dca94036 100644
--- a/app/services/slash_commands/interpret_service.rb
+++ b/app/services/slash_commands/interpret_service.rb
@@ -4,8 +4,8 @@ module SlashCommands
attr_reader :issuable
- # Takes a text and interpret the commands that are extracted from it.
- # Returns a hash of changes to be applied to a record.
+ # Takes a text and interprets the commands that are extracted from it.
+ # Returns the content without commands, and hash of changes to be applied to a record.
def execute(content, issuable)
@issuable = issuable
@updates = {}