File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 2929 retrieve_projects_response = Patch ::Project . retrieve_projects ( page : 1 )
3030 project_id = retrieve_projects_response . data . first . id
3131
32- create_order_response = Patch ::Order . create_order ( mass_g : 100 , project_id : project_id )
32+ create_order_response = Patch ::Order . create_order ( mass_g : 100_000 , project_id : project_id )
3333
3434 expect ( create_order_response . success ) . to eq true
3535 expect ( create_order_response . data . id ) . not_to be_nil
36- expect ( create_order_response . data . mass_g ) . to eq ( 100 )
36+ expect ( create_order_response . data . mass_g ) . to eq ( 100_000 )
37+ expect ( create_order_response . data . price_cents_usd ) . to eq ( 1553 )
38+ expect ( create_order_response . data . patch_fee_cents_usd ) . to eq ( 50 )
3739 end
3840
3941 it 'supports create with metadata' do
You can’t perform that action at this time.
0 commit comments