From ff4a6f3f3f95ed7a663553713a8926fa7a2d6b22 Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Thu, 20 Jul 2023 13:49:21 +0100 Subject: [PATCH] feat: update tests --- spec/features/organisation_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/organisation_spec.rb b/spec/features/organisation_spec.rb index 9abe67ba2..5ea14c5a5 100644 --- a/spec/features/organisation_spec.rb +++ b/spec/features/organisation_spec.rb @@ -194,7 +194,7 @@ RSpec.describe "User Features" do end check("years-2021-field") click_button("Apply filters") - expect(page).to have_current_path("/organisations/#{organisation.id}/lettings-logs?years[]=&years[]=2021&status[]=&assigned_to=all&user=") + expect(page).to have_current_path("/organisations/#{org_id}/lettings-logs?years[]=&years[]=2021&status[]=&assigned_to=all&user=") expect(page).not_to have_link first_log.id.to_s, href: "/lettings-logs/#{first_log.id}" end end