Sha256: 6e9be734f6202051654e464a858e75ab809cb9d6a6e5dbea5ad9414331f7a241

Contents?: true

Size: 848 Bytes

Versions: 6

Compression:

Stored size: 848 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 -%>
<%= javascript_include_tag @tests.first %>
</head>
<body>
  <p>Override this test runner with your own at app/views/sandbox_assets/test_runner/iframe.html.erb. The test to include is available at @tests.first:</p>
  <ul>
    <li><%= link_to @tests.first, javascript_path(@tests.first) %></li>
  </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

6 entries across 6 versions & 1 rubygems

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