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
24c45df0
Commit
24c45df0
authored
Apr 06, 2020
by
Rajendra Kadam
Committed by
Peter Leitzen
Apr 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update web hook spec
parent
766a8776
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
11 deletions
+5
-11
.rubocop.yml
.rubocop.yml
+0
-1
changelogs/unreleased/webhook-service-spec.yml
changelogs/unreleased/webhook-service-spec.yml
+5
-0
spec/services/web_hook_service_spec.rb
spec/services/web_hook_service_spec.rb
+0
-10
No files found.
.rubocop.yml
View file @
24c45df0
...
...
@@ -393,4 +393,3 @@ RSpec/RepeatedExample:
-
'
spec/features/projects/files/template_type_dropdown_spec.rb'
-
'
spec/helpers/users_helper_spec.rb'
-
'
spec/services/notification_service_spec.rb'
-
'
spec/services/web_hook_service_spec.rb'
changelogs/unreleased/webhook-service-spec.yml
0 → 100644
View file @
24c45df0
---
title
:
Remove duplicate spec in web hook service spec
merge_request
:
28669
author
:
Rajendra Kadam
type
:
fixed
spec/services/web_hook_service_spec.rb
View file @
24c45df0
...
...
@@ -71,16 +71,6 @@ describe WebHookService do
end
end
it
'POSTs to the webhook URL'
do
stub_full_request
(
project_hook
.
url
,
method: :post
)
service_instance
.
execute
expect
(
WebMock
).
to
have_requested
(
:post
,
stubbed_hostname
(
project_hook
.
url
)).
with
(
headers:
headers
).
once
end
it
'POSTs the data as JSON'
do
stub_full_request
(
project_hook
.
url
,
method: :post
)
...
...
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