Skip to content

Commit

Permalink
New feature: debit a customer card
Browse files Browse the repository at this point in the history
  • Loading branch information
steveklabnik committed Dec 21, 2013
1 parent 8325137 commit 1627bab
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions features/debits.feature
Expand Up @@ -9,3 +9,11 @@ Feature: Debit cards
Then I should get a 201 Created status code
And the response is valid according to the "debits" schema

Scenario: Debit a card
Given I have tokenized a customer card
When I make a POST request to the link "cards.debits" with the body:
"""
{ "amount": 2000 }
"""
Then I should get a 201 Created status code
And the response is valid according to the "debits" schema

0 comments on commit 1627bab

Please sign in to comment.