Sha256: a06e8e8c48af078899e53e45d4c70381f0a1d5a9e0c128e2b9d4ae74e90330c1

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

<!doctype html>

<html>
  <head>
    <link rel="stylesheet" type="text/css" href="/lib/jasmine.css">
    <script src="/lib/jasmine-0.10.4.js" type="text/javascript"></script>
    <script type="text/javascript" src="/lib/TrivialReporter.js"></script>
    <script type="text/javascript" src="/lib/consolex.js"></script>
    <script type="text/javascript" src="/evergreen/evergreen.js"></script>
    <script src="/spec/<%= @spec.name %>.js" type="text/javascript"></script>
  </head>
  <body>
    <script type="text/javascript">
      (function() {
        var jasmineEnv = jasmine.getEnv();
        jasmineEnv.addReporter(new jasmine.TrivialReporter());
        jasmineEnv.addReporter({
          reportRunnerStarting: function(runner) {
            jasmine.results = []
          }, 
          reportSpecResults: function(spec) {
            var results = spec.results();
            var item = results.getItems()[0] || {};
            jasmine.results.push({
              name: spec.getFullName(),
              passed: results.failedCount === 0,
              message: item.message,
              trace: item.trace
            });
          }
        });

        jasmineEnv.execute();
      })();
    </script>
  </body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
evergreen-0.1 lib/evergreen/views/spec.erb