- if Rails.env.test? %script{type: "text/javascript"} = raw render file: "spec/support/fixtures/stripejs-mock.js" - else %script{src: "https://js.stripe.com/v3/", type: "text/javascript"}