Sha256: 1c9f118b30fe6fee1f19049476654572ee67a64ee18ecee7c34800f15594c067

Contents?: true

Size: 871 Bytes

Versions: 2

Compression:

Stored size: 871 Bytes

Contents

<!DOCTYPE>
<html>
  <head>
    <title>Teabag :: Javascript Test Runner</title>
    <%= stylesheet_link_tag *@suite.stylesheets %>
    <%= javascript_include_tag_for_teabag *@suite.javascripts %>
    <%= csrf_meta_tags %>
    <meta name="viewport" content="width=device-width, user-scalable=no">
    <script type="text/javascript">
      window.originalOnload = window.onload;
      window.onload = function() {
        if (window.originalOnload) window.originalOnload();

        // 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
        Teabag.execute();
      }
    </script>
  </head>
  <body>
    <div id="teabag-fixtures"></div>
  </body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

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