Skip to content
This repository was archived by the owner on Apr 26, 2021. It is now read-only.

Create GetDiff Handler and unit tests for him #137

Merged
merged 6 commits into from
Jul 29, 2014
Merged

Create GetDiff Handler and unit tests for him #137

merged 6 commits into from
Jul 29, 2014

Conversation

joaopaulovieira
Copy link
Member

Create GetDiff Handler to return the diff of commits by URL "/repository/:name/diff/commits".
Commits are being passed by Query string.
Implemented unit tests to ensure expected output and error messages return.

@@ -50,7 +50,11 @@ For an example conf check gandalf/etc/gandalf.conf file.\n %s`
router.Get("/repository/:name/tree/:path", http.HandlerFunc(api.GetTree))
router.Get("/repository/:name/tree", http.HandlerFunc(api.GetTree))
router.Get("/repository/:name/branch", http.HandlerFunc(api.GetBranch))
<<<<<<< HEAD
Copy link
Contributor

Choose a reason for hiding this comment

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

you should remove this line.

andrewsmedina added a commit that referenced this pull request Jul 29, 2014
Create GetDiff Handler and unit tests for him
@andrewsmedina andrewsmedina merged commit 961a4a2 into tsuru:master Jul 29, 2014
@andrewsmedina
Copy link
Contributor

@joaopaulovieira thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants