Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
8c78d6b9
Commit
8c78d6b9
authored
Nov 13, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflict in spec/requests/api/services_spec.rb
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
9cde4f91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
spec/requests/api/services_spec.rb
spec/requests/api/services_spec.rb
+17
-17
No files found.
spec/requests/api/services_spec.rb
View file @
8c78d6b9
...
...
@@ -176,22 +176,6 @@ describe API::Services do
end
end
<<<<<<<
HEAD
describe
'Slack application Service'
do
before
do
project
.
create_gitlab_slack_application_service
stub_application_setting
(
slack_app_verification_token:
'token'
)
end
it
'returns status 200'
do
post
api
(
'/slack/trigger'
),
token:
'token'
,
text:
'help'
expect
(
response
).
to
have_gitlab_http_status
(
200
)
expect
(
json_response
[
'response_type'
]).
to
eq
(
"ephemeral"
)
=======
describe
'Mattermost service'
do
let
(
:service_name
)
{
'mattermost'
}
let
(
:params
)
do
...
...
@@ -210,7 +194,23 @@ describe API::Services do
expect
(
response
).
to
have_gitlab_http_status
(
200
)
expect
(
json_response
[
'properties'
][
'username'
]).
to
eq
(
'new_username'
)
>>>>>>>
ce
-
com
/
master
end
end
describe
'Slack application Service'
do
before
do
project
.
create_gitlab_slack_application_service
stub_application_setting
(
slack_app_verification_token:
'token'
)
end
it
'returns status 200'
do
post
api
(
'/slack/trigger'
),
token:
'token'
,
text:
'help'
expect
(
response
).
to
have_gitlab_http_status
(
200
)
expect
(
json_response
[
'response_type'
]).
to
eq
(
"ephemeral"
)
end
end
end
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