diff --git a/spec/integration/estimates_spec.rb b/spec/integration/estimates_spec.rb index 82c8f65..34a85b2 100644 --- a/spec/integration/estimates_spec.rb +++ b/spec/integration/estimates_spec.rb @@ -56,11 +56,12 @@ make: make, model: model, year: year, - create_order: false + create_order: true ) expect(vehicle_estimate.data.type).to eq 'vehicle' expect(vehicle_estimate.data.mass_g).to eq 5_500 + expect(vehicle_estimate.data.order.mass_g).to eq 5_500 end it 'supports creating vehicle estimates with partial information' do