@@ -26,11 +26,11 @@ describe('Orders Integration', function () {
2626 expect ( data . price_cents_usd + data . patch_fee_cents_usd ) . to . eq ( 100 ) ;
2727 } ) ;
2828
29- it ( 'supports creating an order with issuedTo ' , async function ( ) {
29+ it ( 'supports creating an order with issued_to ' , async function ( ) {
3030 const issuedTo = { email : 'issuee@companyc.com' , name : 'Bob Dylan' } ;
3131 const { data } = await patch . orders . createOrder ( {
3232 total_price_cents_usd : 100 ,
33- issuedTo : issuedTo
33+ issued_to : issuedTo
3434 } ) ;
3535
3636 expect ( data . price_cents_usd + data . patch_fee_cents_usd ) . to . eq ( 100 ) ;
@@ -53,7 +53,7 @@ describe('Orders Integration', function () {
5353 expect ( placeOrderResponse . data . mass_g ) . to . equal ( 100 ) ;
5454 } ) ;
5555
56- it ( 'supports placing orders in a `draft` state with issuedTo ' , async function ( ) {
56+ it ( 'supports placing orders in a `draft` state with issued_to ' , async function ( ) {
5757 const estimateResponse = await patch . estimates . createMassEstimate ( {
5858 mass_g : 100 ,
5959 create_order : true
@@ -64,7 +64,7 @@ describe('Orders Integration', function () {
6464 const issuedTo = { email : 'issuee@companyc.com' , name : 'Bob Dylan' } ;
6565
6666 const placeOrderResponse = await patch . orders . placeOrder ( orderId , {
67- issuedTo : issuedTo
67+ issued_to : issuedTo
6868 } ) ;
6969 expect ( placeOrderResponse . data . created_at ) . to . be . an . instanceOf ( Date ) ;
7070 expect ( placeOrderResponse . data . production ) . to . equal ( false ) ;
0 commit comments