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

Handle GET /batch in mock server #35

Merged
merged 11 commits into from
Jun 26, 2014
Merged

Handle GET /batch in mock server #35

merged 11 commits into from
Jun 26, 2014

Conversation

merlinND
Copy link
Contributor

No description provided.

@@ -21,6 +19,11 @@ module.exports = function createTestServer() {
endpoint = endpoint.replace('{identifier}', ':identifier');
}

// We'll override `GET /batch`
if(endpoint === '/batch') {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'd prefer not to have to write this, but I didn't find how to override a route.

Copy link
Member

Choose a reason for hiding this comment

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

Make it before calling respondTo

@Neamar
Copy link
Member

Neamar commented Jun 25, 2014

Tests keeps failing... any ideas?

@merlinND
Copy link
Contributor Author

Well... 🕐

Neamar added a commit that referenced this pull request Jun 26, 2014
Handle `GET /batch` in mock server
@Neamar Neamar merged commit f77f66e into new-api Jun 26, 2014
@Neamar Neamar deleted the new-api-mock-batch branch June 26, 2014 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants