summaryrefslogtreecommitdiff
path: root/spec/models/project_services
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-12-22 13:43:20 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2016-12-22 13:43:36 +0100
commitf6fceb653958f0f1b0c832a3e642ea7cea1fab24 (patch)
tree998305590edff97590cf0484f43dbb1ee442baf9 /spec/models/project_services
parent6d9c1d3efce00da95832feaaf36227bcbffecadf (diff)
downloadgitlab-ce-f6fceb653958f0f1b0c832a3e642ea7cea1fab24.tar.gz
Fix Mattermost command creation by specifying username
Diffstat (limited to 'spec/models/project_services')
-rw-r--r--spec/models/project_services/mattermost_slash_commands_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/project_services/mattermost_slash_commands_service_spec.rb b/spec/models/project_services/mattermost_slash_commands_service_spec.rb
index d6f4fbd7265..672ced68681 100644
--- a/spec/models/project_services/mattermost_slash_commands_service_spec.rb
+++ b/spec/models/project_services/mattermost_slash_commands_service_spec.rb
@@ -36,7 +36,7 @@ describe MattermostSlashCommandsService, :models do
description: "Perform common operations on: #{project.name_with_namespace}",
display_name: "GitLab / #{project.name_with_namespace}",
method: 'P',
- user_name: 'GitLab' }.to_json).
+ username: 'GitLab' }.to_json).
to_return(
status: 200,
headers: { 'Content-Type' => 'application/json' },