BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
c7241266
Commit
c7241266
authored
Dec 22, 2016
by
Z.J. van de Weg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post username as property, not user_name
parent
6d9c1d3e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mattermost_slash_commands_service.rb
...els/project_services/mattermost_slash_commands_service.rb
+1
-1
mattermost_slash_commands_service_spec.rb
...roject_services/mattermost_slash_commands_service_spec.rb
+1
-1
No files found.
app/models/project_services/mattermost_slash_commands_service.rb
View file @
c7241266
...
@@ -46,6 +46,6 @@ class MattermostSlashCommandsService < ChatSlashCommandsService
...
@@ -46,6 +46,6 @@ class MattermostSlashCommandsService < ChatSlashCommandsService
description:
"Perform common operations on:
#{
pretty_project_name
}
"
,
description:
"Perform common operations on:
#{
pretty_project_name
}
"
,
display_name:
"GitLab /
#{
pretty_project_name
}
"
,
display_name:
"GitLab /
#{
pretty_project_name
}
"
,
method:
'P'
,
method:
'P'
,
user
_
name:
'GitLab'
)
username:
'GitLab'
)
end
end
end
end
spec/models/project_services/mattermost_slash_commands_service_spec.rb
View file @
c7241266
...
@@ -36,7 +36,7 @@ describe MattermostSlashCommandsService, :models do
...
@@ -36,7 +36,7 @@ describe MattermostSlashCommandsService, :models do
description:
"Perform common operations on:
#{
project
.
name_with_namespace
}
"
,
description:
"Perform common operations on:
#{
project
.
name_with_namespace
}
"
,
display_name:
"GitLab /
#{
project
.
name_with_namespace
}
"
,
display_name:
"GitLab /
#{
project
.
name_with_namespace
}
"
,
method:
'P'
,
method:
'P'
,
user
_
name:
'GitLab'
}.
to_json
).
username:
'GitLab'
}.
to_json
).
to_return
(
to_return
(
status:
200
,
status:
200
,
headers:
{
'Content-Type'
=>
'application/json'
},
headers:
{
'Content-Type'
=>
'application/json'
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment