Sha256: 0b9cc213c4d71b08ad3adea835cc93567b88073b1634a4ceb54d8c2ad8d6c1fa
Contents?: true
Size: 388 Bytes
Versions: 2
Compression:
Stored size: 388 Bytes
Contents
module Opal module Spec # Run tests on the command line using phantomjs. Phantomjs **must** be # installed, and the runner assumes you have an HTML file at # ./spec/index.html which will be run. def self.runner runner = File.join File.dirname(__FILE__), '..', '..', '..', 'vendor', 'runner.js' system "phantomjs #{runner} spec/index.html" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
opal-spec-0.2.8 | lib/opal/spec/runner.rb |
opal-spec-0.2.7 | lib/opal/spec/runner.rb |