Commit 8c78d6b9 authored by Rémy Coutable's avatar Rémy Coutable

Resolve conflict in spec/requests/api/services_spec.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 9cde4f91
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment