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
a1ef6325
Commit
a1ef6325
authored
Apr 06, 2020
by
Peter Leitzen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'webhook-service-spec' into 'master'
Update web hook spec See merge request gitlab-org/gitlab!28669
parents
8810c5d3
24c45df0
Changes
3
Show 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 @
a1ef6325
...
...
@@ -390,4 +390,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 @
a1ef6325
---
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 @
a1ef6325
...
...
@@ -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