tests.html.erb 480 B

12345678910111213141516171819202122
  1. <% content_for :content do %>
  2. <link rel="stylesheet" href="/assets/tests/qunit-2.17.2.css">
  3. <%= javascript_include_tag "/assets/tests/qunit-2.17.2.js",
  4. "/assets/tests/sinon-9.2.4",
  5. "/assets/tests/syn-0.15.0",
  6. "/assets/tests/qunit/#{@filename}.js",
  7. nonce: true %>
  8. <style type="text/css">
  9. body {
  10. padding-top: 0px;
  11. }
  12. #qunit {
  13. position: initial;
  14. }
  15. </style>
  16. <%= yield %>
  17. <% end %>
  18. <%= render template: 'layouts/application' %>