Browse Source

Update test

pull/2961/head
Manny Dinssa 2 months ago
parent
commit
40a864075f
  1. 2
      spec/models/form/sales/pages/living_before_purchase_spec.rb

2
spec/models/form/sales/pages/living_before_purchase_spec.rb

@ -95,7 +95,7 @@ RSpec.describe Form::Sales::Pages::LivingBeforePurchase, type: :model do
end end
it "does not route to the page when resale is not 2" do it "does not route to the page when resale is not 2" do
log = build(:sales_log, jointpur: 1, resale: nil) log = build(:sales_log, jointpur: 1, resale: nil, ownershipsch: 1)
expect(page.routed_to?(log, nil)).to eq(false) expect(page.routed_to?(log, nil)).to eq(false)
end end
end end

Loading…
Cancel
Save