use raw to render stripe mock js

This commit is contained in:
Andy Brett
2021-05-06 19:15:50 -07:00
parent 415d86bff0
commit 66da72ccc2

View File

@@ -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"}