Sha256: dad75744f58584542e6da3095a4aaae2ad5fafbffda97d6ee59701318d64a871

Contents?: true

Size: 915 Bytes

Versions: 8

Compression:

Stored size: 915 Bytes

Contents

<!doctype html>
<html>
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8">

  <title>Test runner</title>
<% @stylesheets.each do |css| -%>
  <%= stylesheet_link_tag css %>
<% end -%>
<% @tests.each do |test| -%>
  <%= javascript_include_tag test %>
<% end -%>
</head>
<body>
  <p>Override this test runner with your own at app/views/sandbox_assets/test_runner/index.html.erb. The test list to include are available at @tests:</p>
  <ul>
    <% @tests.each do |test| -%>
      <li><%= link_to test, javascript_path(test) %></li>
    <% end -%>
  </ul>
  <p>And those stylesheets will be also included:</p>
  <ul>

  <% @stylesheets.each do |css| -%>
    <li><%= link_to css, stylesheet_path(css) %></li>
  <% end -%>
  </ul>

  <p>Here is the source for this file (<%= __FILE__ %>):</p>
  <pre style="background-color: lightgreen; color: black"><%= IO.read __FILE__ %></pre>
</body>
</html>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rails-sandbox-assets-0.2.1 app/views/sandbox_assets/test_runner/index.html.erb
rails-sandbox-assets-0.2.0 app/views/sandbox_assets/test_runner/index.html.erb
rails-sandbox-assets-0.1.3 app/views/sandbox_assets/test_runner/index.html.erb
rails-sandbox-assets-0.1.2 app/views/sandbox_assets/test_runner/index.html.erb
rails-sandbox-assets-0.1.1 app/views/sandbox_assets/test_runner/index.html.erb
rails-sandbox-assets-0.1.0 app/views/sandbox_assets/test_runner/index.html.erb
rails-sandbox-assets-0.0.5 app/views/sandbox_assets/test_runner/index.html.erb
rails-sandbox-assets-0.0.4 app/views/sandbox_assets/test_runner/index.html.erb