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

wrap error code in Ember.Error on reject #31

Closed
wants to merge 1 commit into from

Conversation

iezer
Copy link

@iezer iezer commented Jul 22, 2015

Wrap errors from Stripe in Ember.Error. We want to be able to write tests for handling errors for Stripe. If we just reject with the error object then our tests we always fail. So instead we need to wrap the test in an Ember.Error object.

Fixes #30 See the discussion in that issue.

@buritica
Copy link
Collaborator

build is breaking, can you please check?

@buritica
Copy link
Collaborator

just re-ran build and noticed its failing too, weird https://travis-ci.org/ride/ember-stripe-service/builds. I'll double check

@buritica
Copy link
Collaborator

I just rebuilt this and the test that check rejections fails, if you're still interested in making this happen, would you mind updating the tests so we can get it in? Otherwise, would you mind closing the PR?

Thanks!

@buritica buritica closed this May 3, 2016
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