diff --git a/spec/models/order_updater_spec.rb b/spec/models/order_updater_spec.rb index 9eec3a1232..40a12a9119 100644 --- a/spec/models/order_updater_spec.rb +++ b/spec/models/order_updater_spec.rb @@ -131,7 +131,7 @@ describe OrderUpdater do it "populates the shipping address from distributor" do order_updater.before_save_hook - expect(order.ship_address.firstname).to eq(distributor.address.firstname) + expect(order.ship_address.address1).to eq(distributor.address.address1) end end