Sha256: 21056f4afa349fae7d7517386755cb220a140cb8817e80543050d9ed28c4247d
Contents?: true
Size: 341 Bytes
Versions: 3
Compression:
Stored size: 341 Bytes
Contents
require 'minitest/spec' require 'minitest/autorun' require 'phantomjs' describe Phantomjs do describe ".run" do it "runs phantomjs binary with the correct arguments" do script = File.expand_path('./spec/runner.js') result = Phantomjs.run(script, 'foo1', 'foo2') result.must_equal "bar foo1 foo2\n" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
phantomjs.rb-0.0.3 | spec/phantomjs_spec.rb |
phantomjs.rb-0.0.2 | spec/phantomjs_spec.rb |
phantomjs.rb-0.0.1 | spec/phantomjs_spec.rb |