From 66c6994d78bf08f307aa7130618fe79cdc12c775 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Mon, 19 Feb 2024 13:23:43 +1100 Subject: [PATCH] Fix typo in spec --- spec/system/admin/enterprises_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/admin/enterprises_spec.rb b/spec/system/admin/enterprises_spec.rb index 69c52cf6b1..1759c540e3 100644 --- a/spec/system/admin/enterprises_spec.rb +++ b/spec/system/admin/enterprises_spec.rb @@ -149,7 +149,7 @@ describe ' within(".permalink") do link_path = "#{main_app.root_url}#{@enterprise.permalink}/shop" - link = find_link(link) + link = find_link(link_path) expect(link[:href]).to eq link_path expect(link[:target]).to eq '_blank' end