diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2019-08-26 14:23:36 +0200 |
---|---|---|
committer | Yorick Peterse <yorick@yorickpeterse.com> | 2019-08-29 16:11:42 +0200 |
commit | e8dd299e7cb4fbb622359d762089367267ed5c09 (patch) | |
tree | d4448d16374f55de345e25ec2b2d098c231c319f /spec/support/shared_examples | |
parent | e8bcabb4a735ecb84b5bc65269fffc21a72b6da6 (diff) | |
download | gitlab-ce-e8dd299e7cb4fbb622359d762089367267ed5c09.tar.gz |
Improve chatops help outputimprove-chatops-help
This improves the output produced when running an unknown command,
running the "help" command, and when trying to run a command you are not
allowed to run. The new help output includes links to the project of the
chatops integration, and a link to the chatops documentation.
Diffstat (limited to 'spec/support/shared_examples')
-rw-r--r-- | spec/support/shared_examples/chat_slash_commands_shared_examples.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/shared_examples/chat_slash_commands_shared_examples.rb b/spec/support/shared_examples/chat_slash_commands_shared_examples.rb index dcc92dda950..a99068ab678 100644 --- a/spec/support/shared_examples/chat_slash_commands_shared_examples.rb +++ b/spec/support/shared_examples/chat_slash_commands_shared_examples.rb @@ -103,7 +103,7 @@ RSpec.shared_examples 'chat slash commands service' do expect_any_instance_of(Gitlab::SlashCommands::Command).not_to receive(:execute) result = subject.trigger(params) - expect(result).to include(text: /^Whoops! This action is not allowed/) + expect(result).to include(text: /^You are not allowed/) end end end |