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

Fixed Authentication, now with passing spec! #11

Closed
wants to merge 12 commits into from

Conversation

yrral86
Copy link
Contributor

@yrral86 yrral86 commented Nov 20, 2011

Fixed up the authentication scheme in the tests as well as patched up a couple broken features. I guess that's why we have specs ;).

@sferik
Copy link
Owner

sferik commented Nov 20, 2011

Why is MTGOX_ENV necessary? I don't like the idea of defining methods conditionally based on the environment.

@yrral86
Copy link
Contributor Author

yrral86 commented Nov 20, 2011

There is a nonce generated with every request that is time based. I have to hardcode that nonce for testing in order to be able to stub out the request.

@sferik
Copy link
Owner

sferik commented Nov 20, 2011

Seems like it would be better to just stub that function.

@yrral86
Copy link
Contributor Author

yrral86 commented Nov 20, 2011

Ah, that should work. I'll rework it and resubmit.

@yrral86 yrral86 closed this Nov 20, 2011
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.

2 participants