From 66da72ccc2266e4feebfab0ccc165ca1a8beec9a Mon Sep 17 00:00:00 2001 From: Andy Brett Date: Thu, 6 May 2021 19:15:50 -0700 Subject: [PATCH] use raw to render stripe mock js --- app/views/shared/_stripe_js.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/shared/_stripe_js.html.haml b/app/views/shared/_stripe_js.html.haml index 8fbeec8aa1..1ce1cd99e4 100644 --- a/app/views/shared/_stripe_js.html.haml +++ b/app/views/shared/_stripe_js.html.haml @@ -1,5 +1,5 @@ - if Rails.env.test? %script{type: "text/javascript"} - = render file: "spec/support/fixtures/stripejs-mock.js" + = raw render file: "spec/support/fixtures/stripejs-mock.js" - else %script{src: "https://js.stripe.com/v3/", type: "text/javascript"}