From d6f476d752518f15524f3198cd9d1fc60bf28a9e Mon Sep 17 00:00:00 2001 From: MadeTech Dushan Date: Tue, 11 Jan 2022 15:41:50 +0000 Subject: [PATCH] fix test expectations --- spec/features/form/page_routing_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/features/form/page_routing_spec.rb b/spec/features/form/page_routing_spec.rb index 2a8681cd1..8376a2bbe 100644 --- a/spec/features/form/page_routing_spec.rb +++ b/spec/features/form/page_routing_spec.rb @@ -82,7 +82,7 @@ RSpec.describe "Form Page Routing" do click_button("Save and continue") visit("/logs/#{id}") click_link(text: "Tenancy information") - expect(page).to have_current_path("/case-logs/#{id}/joint-tenancy") + expect(page).to have_current_path("/logs/#{id}/joint-tenancy") end it "the first question in tenancy information section is not joint tenancy if startdate is in 2021/22 period" do @@ -93,7 +93,7 @@ RSpec.describe "Form Page Routing" do click_button("Save and continue") visit("/logs/#{id}") click_link(text: "Tenancy information") - expect(page).to have_current_path("/case-logs/#{id}/tenancy-code") + expect(page).to have_current_path("/logs/#{id}/tenancy-code") end end end