Sha256: ea12c367820375d9aef4587bd6b7a21e0d64423c621e39d15bdfef68062ce621

Contents?: true

Size: 1001 Bytes

Versions: 1

Compression:

Stored size: 1001 Bytes

Contents

<!DOCTYPE>
<html>
  <head>
    <title>Teabag :: Javascript Test Runner</title>
    <%= stylesheet_link_tag *@suite.stylesheets %>
    <%= csrf_meta_tags %>
    <meta name="viewport" content="width=device-width, user-scalable=no">
    <%= javascript_include_tag *@suite.core_javascripts %>
    <script type="text/javascript">
      // pass relevant info to javascript
      Teabag.version = <%=raw Teabag::VERSION.inspect %>;
      Teabag.root = <%=raw Teabag.configuration.mount_at.inspect %>;
      Teabag.suites = <%=raw @suite.suites.to_json %>;

      // start the execution of the specs (on onload, handling existing onload events)
      window.originalOnload = window.onload;
      window.onload = function() {
        if (Teabag.started) return; // ensure this never happens more than once
        if (window.originalOnload) window.originalOnload();
        Teabag.execute();
      }
    </script>
    <%= javascript_include_tag *@suite.spec_javascripts %>
  </head>
  <body>
  </body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
teabag-0.4.5 app/views/teabag/spec/index.html.erb