Created
June 15, 2015 17:01
-
-
Save biscuitvile/c0367dab2ba4df431344 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
beforeEach: function() { | |
application = startApp(); | |
var order = server.create('order', { | |
id: 'EFGH-123456', | |
customerFirstName: 'Dana', | |
customerLastName: 'Scully', | |
customerEmail: '[email protected]', | |
shippingAddress1: '411 Walnut St.', | |
shippingAddress2: '#6534', | |
shippingCity: 'Jacksonville', | |
shippingState: 'Florida', | |
shippingZip: '32043', | |
shippingCountryName: 'United States', | |
note: 'Government denies knowledge', | |
total: '$12.56', | |
paymentUrl: 'https://sandbox.paypal.com/transactions/foo', | |
completedAt: new Date('April 26, 2015'), | |
}); | |
var items = server.createList('item', 14); | |
order.items = items; | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment