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

Introducing Cukes #431

Merged
merged 156 commits into from
Jan 24, 2014
Merged
Changes from 1 commit
Commits
Show all changes
156 commits
Select commit Hold shift + click to select a range
29c4da7
Nuke everything :bomb:
steveklabnik Nov 28, 2013
0249dca
"Tokenize a card without a secret" works.
steveklabnik Dec 2, 2013
999670a
Set up rake tasks to make running features easier
steveklabnik Dec 10, 2013
e48738e
New feature: creating API keys.
steveklabnik Dec 12, 2013
e494c51
New feature: retrieve API keys
steveklabnik Dec 12, 2013
82780ea
New feature: list all API keys
steveklabnik Dec 13, 2013
c3e3f5b
New feature: remove API keys
steveklabnik Dec 13, 2013
7a8e23a
Refactor/reorganize steps for clarity.
steveklabnik Dec 13, 2013
65a81b8
Update README.
steveklabnik Dec 13, 2013
424c741
Adding technical documentation.
steveklabnik Dec 13, 2013
8397390
moving root_url and accept_headers into global variables
matthewfl Dec 13, 2013
6f28333
adding card tokens schema
matthewfl Dec 13, 2013
f4328d5
Refactor schema error handling, reintroduce failure
matthewfl Dec 13, 2013
224b089
basic create customer scenario
matthewfl Dec 14, 2013
43349be
micro library to contain interaction with the api
matthewfl Dec 14, 2013
c318fb3
New feature: Customer index
matthewfl Dec 14, 2013
26bbee3
clean up some whitespace
steveklabnik Dec 16, 2013
f385d4f
New feature: get customer
steveklabnik Dec 16, 2013
aeb357e
'fix' failing address spec.
steveklabnik Dec 16, 2013
c66f665
Clean up some small formatting issues.
steveklabnik Dec 16, 2013
4d05364
New feature: remove a customer
steveklabnik Dec 16, 2013
146c870
New feature: create a callback
steveklabnik Dec 16, 2013
6b9aae4
New feature: get callback info
steveklabnik Dec 16, 2013
767de1e
refactor to use the client
steveklabnik Dec 17, 2013
c88e3e7
New features: list/delete callbacks
steveklabnik Dec 17, 2013
9a4cb93
New feature: get a card
steveklabnik Dec 17, 2013
9a6603e
New features: list and remove cards
steveklabnik Dec 17, 2013
35776fa
client library refactor.
steveklabnik Dec 17, 2013
1e61843
adding hydrater
matthewfl Dec 17, 2013
bbb2eff
start changing over to hydrater
matthewfl Dec 17, 2013
7caf6fd
feature: debiting a card
matthewfl Dec 17, 2013
e7eaf45
feature: Retrieving debits for a card
matthewfl Dec 17, 2013
26878a3
Implement PUT in the client.
steveklabnik Dec 17, 2013
647f631
New feature: update card
steveklabnik Dec 17, 2013
ea7a736
Fix broken callback scenario.
steveklabnik Dec 17, 2013
7c2c8e6
feature: debit a customer
matthewfl Dec 17, 2013
72b5546
new feature: debit a card
steveklabnik Dec 17, 2013
492b2f8
spacing is hard
matthewfl Dec 17, 2013
b6cfe2b
bank accounts feature failing as address is not coming back in response
matthewfl Dec 17, 2013
ca0e231
credit bank account feature
matthewfl Dec 17, 2013
125f31b
basic crud for bank accounts
matthewfl Dec 17, 2013
45654ef
bank account debit and credit scenarios
matthewfl Dec 17, 2013
24c22bb
Move features into rest
steveklabnik Dec 17, 2013
aaa5fc4
bank account verification feature
matthewfl Dec 17, 2013
fe968e5
finishing debit scenarios and forcing json schema formatting
matthewfl Dec 17, 2013
e52e3f9
refund features
matthewfl Dec 18, 2013
6ecfbee
customer add card/bank account
matthewfl Dec 18, 2013
b7e3b68
credits features
matthewfl Dec 18, 2013
07fe36d
reversal features
matthewfl Dec 18, 2013
8db133e
events schemas
matthewfl Dec 18, 2013
12689e8
events features
matthewfl Dec 18, 2013
f06b356
Add an alias for requests using different language
steveklabnik Dec 19, 2013
bce3379
New feature: root resource
steveklabnik Dec 19, 2013
f21ca0d
New feature: the resources resource
steveklabnik Dec 19, 2013
cf4036b
minor spelling updates
dclausen Dec 20, 2013
d5c1a3e
Better error messages on status code failure.
steveklabnik Dec 20, 2013
8e820bf
New feature: create a reversal.
steveklabnik Dec 20, 2013
967a193
New feature: failed reversal.
steveklabnik Dec 20, 2013
b89b6e3
New feature: failed reversal on bank account.
steveklabnik Dec 21, 2013
ed9340d
New feature: successful reversal
steveklabnik Dec 21, 2013
b2a5c7c
New feature: debit a card
steveklabnik Dec 21, 2013
8325137
make a distinction between having a card and a customer card.
steveklabnik Dec 21, 2013
1627bab
New feature: debit a customer card
steveklabnik Dec 21, 2013
602214e
New feature: create a customer
steveklabnik Dec 21, 2013
ef2eecb
fix description around customer cards
steveklabnik Dec 25, 2013
71d9ae0
new feature: refunds create
steveklabnik Dec 25, 2013
2a70aac
Add HTTP PATCH to tiny client.
steveklabnik Dec 27, 2013
3d1c8bf
Log secret and marketplace ID
steveklabnik Dec 27, 2013
27ed2d1
New feature: create a debit
steveklabnik Dec 27, 2013
a9d699e
New feature: refunds go to original funding source.
steveklabnik Dec 28, 2013
44512a5
New feature: create a failing refund
steveklabnik Dec 28, 2013
e866535
New feature: debit a verified bank account
steveklabnik Dec 28, 2013
40f037d
New feature: debits to unverified bank accounts fail.
steveklabnik Dec 28, 2013
b6bd5a7
New feature: debit a customer
steveklabnik Dec 28, 2013
49ece83
New feature: fail to debit a customer
steveklabnik Dec 28, 2013
0d11bf3
Merge pull request #454 from dclausen/patch-1
matin Dec 31, 2013
c7068e6
New feature: default funding source.
steveklabnik Dec 31, 2013
859d9e7
New features: customers and orders
rserna2010 Jan 2, 2014
bf531fc
Convert more scenarios
rserna2010 Jan 2, 2014
3830fea
fixes error scenario and issue #459
matthewfl Jan 6, 2014
f528307
number of minor fixes
matthewfl Jan 6, 2014
7736c9e
Some movement toward #467
steveklabnik Jan 6, 2014
d0d02c1
Passing: reverse a credit on a bank account.
steveklabnik Jan 6, 2014
59337e0
remove 'set the default funding source
steveklabnik Jan 6, 2014
e11eda8
Some movement on underwriting a customer
steveklabnik Jan 6, 2014
0536af7
Moving forward on 'create an order'
steveklabnik Jan 7, 2014
a68ddd8
progress on checking escrow on orders.
steveklabnik Jan 7, 2014
f7a6c77
Add in debugging steps.
steveklabnik Jan 7, 2014
fba6285
Making some progress on 'checking escrow of order'
steveklabnik Jan 7, 2014
5ee8012
Making progress on 'orders can't be credited more...
steveklabnik Jan 7, 2014
5d33e55
Making progress on 'Create a refund'
steveklabnik Jan 7, 2014
3e1b0b8
Update interpolation syntax
steveklabnik Jan 7, 2014
870fcdb
Typo fix: should be an order not an error
steveklabnik Jan 7, 2014
51c6a76
Making progress on create a reversal
steveklabnik Jan 7, 2014
37043f4
fix interpolation syntax
steveklabnik Jan 7, 2014
4ce588a
baby steps
matthewfl Jan 7, 2014
6083a08
New feature: underwrite a customer
steveklabnik Jan 7, 2014
6c29870
Merge remote-tracking branch 'origin/cukes' into cukes
matthewfl Jan 8, 2014
585f67f
making some movement on #471
steveklabnik Jan 8, 2014
48ec874
Make progress on 'transactions inherit descriptions'
steveklabnik Jan 11, 2014
48b6239
make some progress on crediting an unverified merchant.
steveklabnik Jan 11, 2014
413775d
Making progress on 'cancelling an order'
steveklabnik Jan 13, 2014
0afcceb
Making progress on 'existing buyer makes a purchase with a new card'
steveklabnik Jan 13, 2014
37eb86b
some cleaning
matthewfl Jan 13, 2014
89da538
making progress on 'existing buyer makes a purchase with an existing …
steveklabnik Jan 14, 2014
a4a51d7
Making progress on 'new buyer makes a purchase'
steveklabnik Jan 14, 2014
e7f8430
Progress on existing buyer makes a purchase with a new card.
steveklabnik Jan 14, 2014
3cb8958
Add credit card scenarios.
rserna2010 Jan 14, 2014
8a3ffbf
making progress on 'adding a card to a customer'
steveklabnik Jan 14, 2014
0fb808b
New feature: AVS postal code matches
steveklabnik Jan 14, 2014
0c1d810
New feature: AVS postal code does not match
steveklabnik Jan 14, 2014
7de997d
New scenario: AVS Postal card is unsupported
steveklabnik Jan 14, 2014
b96c9d9
Making progress on 'AVS postal code is unused.
steveklabnik Jan 14, 2014
5381186
New feature: AVS street matches
steveklabnik Jan 14, 2014
87aafe9
New feature: AVS street does not match
steveklabnik Jan 14, 2014
ec98ab4
Making progress on 'avs street match is null'
steveklabnik Jan 14, 2014
84903e0
Progress on 'detect a visa card brand'
steveklabnik Jan 14, 2014
9a972aa
Make progress on 'detect a mastercard brand'
steveklabnik Jan 14, 2014
f850887
Make progress on 'detect an amex brand'
steveklabnik Jan 14, 2014
ae18309
make progress on 'detect a discover card'
steveklabnik Jan 14, 2014
761af4e
Make some progress on retrieving card info
steveklabnik Jan 14, 2014
80b8eb3
Progress on 'tokenizing a card'
steveklabnik Jan 14, 2014
e51d3a9
Making progress on luhn test failure
steveklabnik Jan 14, 2014
b47d8d0
new feature: unstore a card
steveklabnik Jan 14, 2014
7924eb0
New feature: CVV matches
steveklabnik Jan 14, 2014
4c454ed
progress on 'CVV doesn't match'
steveklabnik Jan 14, 2014
91847c7
Progress on 'CVV is unsupported'
steveklabnik Jan 14, 2014
0af3c98
Making progress on CVV is unused
steveklabnik Jan 14, 2014
2c2a4b0
'Add a card to a customer' now works
steveklabnik Jan 14, 2014
9a9e032
Feature fixed: Debit a card
steveklabnik Jan 15, 2014
2e7a0e6
Making progress on 'basic order flow'
steveklabnik Jan 15, 2014
84d3b4b
New feature: card metadata
steveklabnik Jan 16, 2014
e0ff12a
New feature: fail to confirm a bank account verification
steveklabnik Jan 16, 2014
2044e73
progress on 'inferring bank names'
steveklabnik Jan 16, 2014
9513dd2
Make progress on 'add a bank account to a customer'
steveklabnik Jan 16, 2014
9ba89de
removing failing tag from card scenarios
matthewfl Jan 16, 2014
5f9f1c7
cleaning orders features
matthewfl Jan 16, 2014
1392564
trying new link resolve system
matthewfl Jan 16, 2014
e4bc413
fix
matthewfl Jan 16, 2014
2eec38b
another one working
matthewfl Jan 16, 2014
2770646
fixing bank account rest scenarios
matthewfl Jan 16, 2014
7d774b5
fixed 404 error
matthewfl Jan 16, 2014
f802d28
canceling an order
matthewfl Jan 17, 2014
4b13e43
the end is nearing
matthewfl Jan 17, 2014
5a1a65f
one more to go
matthewfl Jan 17, 2014
bf659a8
I did it, its done, no more failing
matthewfl Jan 17, 2014
df27867
some issues with test credit card numbers
matthewfl Jan 18, 2014
79fd4df
properly tag luhn test failure.
steveklabnik Jan 20, 2014
8027255
Tagging CVV is unsupported failure.
steveklabnik Jan 20, 2014
a6fa221
Properly tagging cvv does not match
steveklabnik Jan 20, 2014
79702b8
cvv card number scenarios working
matthewfl Jan 21, 2014
f08a98d
it is all working now
matthewfl Jan 23, 2014
ce58fea
Add feature for debiting a card directly.
steveklabnik Jan 24, 2014
3a87dc0
Fix up specs related to reversals.
steveklabnik Jan 24, 2014
82540eb
New feature: update a customer
steveklabnik Jan 24, 2014
2b9b019
Two last bank account features.
steveklabnik Jan 24, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
New feature: update a customer
  • Loading branch information
steveklabnik committed Jan 24, 2014
commit 82540eb80079917b49708773d13e56975f1e6ddd
17 changes: 17 additions & 0 deletions features/rest/customers.feature
Original file line number Diff line number Diff line change
@@ -39,6 +39,23 @@ Feature: Customers
Then I should get a 204 OK status code
And there should be no response body

Scenario: Update a customer
Given I have created a customer
When I make a PUT request to the href "href" with the body:
"""
{
"email": "[email protected]"
}
"""
Then I should get a 200 OK status code
And the response is valid according to the "customers" schema
And the fields on this customer match:
"""
{
"email": "[email protected]"
}
"""

Scenario: Add a card to a customer
Given I have tokenized a card
And I have created a customer