Skip to content

Commit

Permalink
New feature: create a failing refund
Browse files Browse the repository at this point in the history
This is currently not working. #459 is tracking it.
  • Loading branch information
steveklabnik committed Dec 28, 2013
1 parent a9d699e commit 44512a5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions features/refunds.feature
Expand Up @@ -8,6 +8,20 @@ Feature: Refunds
Then I should get a 201 Created status code
And the response is valid according to the "refunds" schema

@failing @gh-459
Scenario: Create a failed refund
Given I have tokenized a customer card
And I have debited that card

When I make a POST request to the link "debits.refunds" with the body:
"""
{
"amount": 200000000
}
"""
Then I should get a 400 status code
And the response is valid according to the "errors" schema

Scenario: Refund after changed source
Given I have created a debit
When I change the default funding source
Expand Down

0 comments on commit 44512a5

Please sign in to comment.