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:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-12-22 15:43:20 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-12-22 15:43:36 +0300
commitf6fceb653958f0f1b0c832a3e642ea7cea1fab24 (patch)
tree998305590edff97590cf0484f43dbb1ee442baf9 /spec/models/project_services/mattermost_slash_commands_service_spec.rb
parent6d9c1d3efce00da95832feaaf36227bcbffecadf (diff)
Fix Mattermost command creation by specifying username
Diffstat (limited to 'spec/models/project_services/mattermost_slash_commands_service_spec.rb')
-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' },