Skip to content

Commit

Permalink
Make navigation mock components return a safe string
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Jan 9, 2024
1 parent 73bc29e commit 82dcf1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 82dcf1e

Please sign in to comment.