Sha256: 06b7b8947a4a90138611f616a34d2b61c03a4181170984d95cbca62626737723
Contents?: true
Size: 521 Bytes
Versions: 1
Compression:
Stored size: 521 Bytes
Contents
Dir.chdir File.join(File.dirname(__FILE__), '../') #Files that are reported as bugged end up here for testing. RSpec.describe "Live Culture" do it "Can run jquery_ajax.js and output success" do begin Timeout.timeout(8) do IO.popen "ruby -Ilib ./bin/boojs ./spec/samples/jquery_ajax.js", "r" do |p| begin @res = p.readline.strip ensure Process.kill 9, p.pid end end end rescue end expect(@res).to eq("success") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
boojs-0.0.19 | spec/sample_spec.rb |