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 league request methods #30

Merged
merged 4 commits into from
Aug 11, 2014

Conversation

cameron-martin
Copy link
Contributor

I added tests for, fixed, and refactored the methods in league_request. Previously, all the methods except get had no tests for them, and the behaviour was wrong following an api change from v2.3 -> v2.4

It should now have 100% coverage, which is nice.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.33%) when pulling 47f21fc on cameron-martin:fix-league-request into ae03850 on mikamai:master.

@cameron-martin
Copy link
Contributor Author

Since all the api methods use the get method, I changed the method argument on load_fixture to be optional with 'get' as default.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.33%) when pulling 9cdeaf6 on cameron-martin:fix-league-request into ae03850 on mikamai:master.

@cameron-martin
Copy link
Contributor Author

Merging the first two commits would be a good idea, but I haven't used git enough to be confident that I wouldn't screw the rebase up.

intinig added a commit that referenced this pull request Aug 11, 2014
@intinig intinig merged commit d20d413 into mikamai:master Aug 11, 2014
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

3 participants