summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/slash_commands/command_spec.rb
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2018-03-12 15:29:45 +0000
committerSean McGivern <sean@gitlab.com>2018-03-15 13:09:11 +0000
commit0fa139dfda0b2f5d7b15ba60d7b3a4a6d9a22c49 (patch)
treef79e08530601d79aefa6e16f6ee6626aea1f1c5d /spec/lib/gitlab/slash_commands/command_spec.rb
parent82b6222022c496290066fbdd6c3c2490bd23622c (diff)
downloadgitlab-ce-0fa139dfda0b2f5d7b15ba60d7b3a4a6d9a22c49.tar.gz
Add slash command for moving an issue
Carried over from https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8857
Diffstat (limited to 'spec/lib/gitlab/slash_commands/command_spec.rb')
-rw-r--r--spec/lib/gitlab/slash_commands/command_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/lib/gitlab/slash_commands/command_spec.rb b/spec/lib/gitlab/slash_commands/command_spec.rb
index e3447d974aa..194cae8c645 100644
--- a/spec/lib/gitlab/slash_commands/command_spec.rb
+++ b/spec/lib/gitlab/slash_commands/command_spec.rb
@@ -108,5 +108,10 @@ describe Gitlab::SlashCommands::Command do
it { is_expected.to eq(Gitlab::SlashCommands::IssueSearch) }
end
+
+ context 'IssueMove is triggered' do
+ let(:params) { { text: 'issue move #78291 to gitlab/gitlab-ci' } }
+ it { is_expected.to eq(Gitlab::SlashCommands::IssueMove) }
+ end
end
end