From 82dcf1ed4e0445409cc16769a35cac0c5224f7a2 Mon Sep 17 00:00:00 2001 From: Elia Schito Date: Tue, 9 Jan 2024 12:33:51 +0100 Subject: [PATCH] Make navigation mock components return a safe string --- .../solidus_admin/layout/navigation/component_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/spec/components/solidus_admin/layout/navigation/component_spec.rb b/admin/spec/components/solidus_admin/layout/navigation/component_spec.rb index b537c744526..f5480e5977a 100644 --- a/admin/spec/components/solidus_admin/layout/navigation/component_spec.rb +++ b/admin/spec/components/solidus_admin/layout/navigation/component_spec.rb @@ -34,7 +34,7 @@ it "renders the account nav component" do account_component = mock_component do def call - "account nav" + "account nav".html_safe end end component = described_class.new(