Sha256: 028736d5ade0be7710049d78e7dba9e3ce56d599114b0717667125519cb68bdc

Contents?: true

Size: 408 Bytes

Versions: 23

Compression:

Stored size: 408 Bytes

Contents

// This script should be run with PhantomJS
// http://www.phantomjs.org/

var page = new WebPage()

page.onConsoleMessage = function(message) {
  try {
    var result = JSON.parse(message)
    if ('total' in result && 'fail' in result) {
      console.log(message)
      var status = (!result.fail && !result.error) ? 0 : 1
      phantom.exit(status)
    }
  } catch (e) {}
}

page.open('spec/browser.html')

Version data entries

23 entries across 23 versions & 4 rubygems

Version Path
faye-0.8.11 spec/phantom.js
face-faye-0.8.9 spec/phantom.js
faye-0.8.9 spec/phantom.js
faye-0.8.8 spec/phantom.js
faye-0.7.2 spec/phantom.js
faye-0.6.8 spec/phantom.js
faye-0.8.6 spec/phantom.js
faye-0.8.5 spec/phantom.js
faye-0.8.4 spec/phantom.js
faye-0.8.3 spec/phantom.js
faye-0.8.2 spec/phantom.js
_bushido-faye-0.8.2 spec/phantom.js
_bushido-faye-0.8.1 spec/phantom.js
bushido-faye-0.8.1 spec/phantom.js
faye-0.8.1 spec/phantom.js
faye-0.8.0 spec/phantom.js
faye-0.7.1 spec/phantom.js
faye-0.7.0 spec/phantom.js
faye-0.6.7 spec/phantom.js
faye-0.6.6 spec/phantom.js