Sha256: 3d2c62ddbe416093834cd9c4ee23d9d26a31b3a734369364b48a01b12dcfbf56

Contents?: true

Size: 1.26 KB

Versions: 6

Compression:

Stored size: 1.26 KB

Contents

<!doctype html>
<html>
  <head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <title>Faye test suite</title>
    <script type="text/javascript" src="../node_modules/jsclass/min/loader.js"></script>
  </head>
  <body>
    <script type="text/javascript">
      
      if (typeof TestSwarm === 'undefined')
        TestSwarm = {
          submit: function(result) {
            if (window.console) console.log(Faye.toJSON(result));
          },
          heartbeat: function() {}
        }
      
      JS.cacheBust = true
      
      JS.Packages(function() { with(this) {
        file('../build/browser/faye-browser-min.js').provides('Faye')
        autoload(/.*Spec/, {from: './javascript'})
      }})

      JS.require('Faye', 'JS.Test', 'JS.Range', function() {
        JS.Test.Unit.Assertions.include({
          assertYield: function(expected) {
            var testcase = this
            return function(actual) { testcase.assertEqual(expected, actual) }
          }
        })
        
        JS.require( 'FayeSpec',
                    'GrammarSpec',
                    'ChannelSpec',
                    'ClientSpec',
                    'TransportSpec',
                    JS.Test.method('autorun'))
      })
      
    </script>
  </body>
</html>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
faye-0.8.8 spec/browser.html
faye-0.8.6 spec/browser.html
faye-0.8.5 spec/browser.html
faye-0.8.4 spec/browser.html
faye-0.8.3 spec/browser.html
faye-0.8.2 spec/browser.html