Sha256: 7798cc59ffaa71a8e1f176d57c763edbd75630e03fccd5041a643c310239cec1

Contents?: true

Size: 1.03 KB

Versions: 1

Compression:

Stored size: 1.03 KB

Contents

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <title>Jasmine Spec Runner</title>

  <%= stylesheet_link_tag    "jasmine/jasmine" %>
  <%= javascript_include_tag "test_track/jasmine_suite" %>

	<%= javascript_include_tag TestTrack.application_manifest %>
  <%= javascript_include_tag TestTrack.jasmine_manifest %>

  <script type="text/javascript">
    (function() {
      var jasmineEnv = jasmine.getEnv();
      jasmineEnv.updateInterval = 1000;

      var trivialReporter = new jasmine.TrivialReporter();

      jasmineEnv.addReporter(trivialReporter);

      jasmineEnv.specFilter = function(spec) {
        return trivialReporter.specFilter(spec);
      };

      var currentWindowOnload = window.onload;

      window.onload = function() {
        if (currentWindowOnload) {
          currentWindowOnload();
        }
        execJasmine();
      };

      function execJasmine() {
        jasmineEnv.execute();
      }

    })();
  </script>

</head>

<body>
</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
test_track-0.0.1 app/views/test_track/tests/jasmine.html.erb