diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-12-22 15:43:20 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-12-22 15:43:36 +0300 |
commit | f6fceb653958f0f1b0c832a3e642ea7cea1fab24 (patch) | |
tree | 998305590edff97590cf0484f43dbb1ee442baf9 /spec/models/project_services/mattermost_slash_commands_service_spec.rb | |
parent | 6d9c1d3efce00da95832feaaf36227bcbffecadf (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.rb | 2 |
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' }, |