Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix RESTfulness of project hook deletions by API #3053

Merged
merged 2 commits into from Feb 20, 2013

Conversation

m4tthumphrey
Copy link
Contributor

Provides hook_id as part of the URL. Fixes #2878.

it "should delete hook from project" do
expect {
delete api("/projects/#{project.id}/hooks", user),
delete api("/projects/#{project.id}/hooks/#{hook.id}", user),
hook_id: hook.id
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That line should be removed too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah crap.

@dzaporozhets
Copy link
Member

Thank you

dzaporozhets added a commit that referenced this pull request Feb 20, 2013
Fix RESTfulness of project hook deletions by API
@dzaporozhets dzaporozhets merged commit ba1a453 into gitlabhq:master Feb 20, 2013
@m4tthumphrey m4tthumphrey deleted the api-delete-hook-by-id branch February 20, 2013 13:42
dbalexandre pushed a commit that referenced this pull request Jan 6, 2017
Add email confirmation field to registration form

Closes #3053

See merge request !7432
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants