Sha256: 43665fe00a1e9563d7f101fdf53788285731884fe93a7ea1dcab6f69b516fd84

Contents?: true

Size: 1.25 KB

Versions: 5

Compression:

Stored size: 1.25 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/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

5 entries across 5 versions & 3 rubygems

Version Path
_bushido-faye-0.8.2 spec/browser.html
_bushido-faye-0.8.1 spec/browser.html
bushido-faye-0.8.1 spec/browser.html
faye-0.8.1 spec/browser.html
faye-0.8.0 spec/browser.html