Skip to content

Commit 19fbf52

Browse files
authored
Future-proof the tests (#45)
1 parent 5c50f4d commit 19fbf52

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/integration/estimates_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,12 @@
5656
make: make,
5757
model: model,
5858
year: year,
59-
create_order: false
59+
create_order: true
6060
)
6161

6262
expect(vehicle_estimate.data.type).to eq 'vehicle'
6363
expect(vehicle_estimate.data.mass_g).to eq 5_500
64+
expect(vehicle_estimate.data.order.mass_g).to eq 5_500
6465
end
6566

6667
it 'supports creating vehicle estimates with partial information' do

0 commit comments

Comments
 (0)