Sha256: e76a9d95debe8996d39f3ee2802bd07615986672f9ccdbb0874e91c063cdd21a
Contents?: true
Size: 560 Bytes
Versions: 1
Compression:
Stored size: 560 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe CukeMonk do it "checks a job status" do EM.run { cm = CukeMonk.new cm.run_test("NODEPLOY", "simple.feature") cm.run_test("NODEPLOY", "simple.feature") cm.run_test("NODEPLOY", "simple.feature") EM.add_periodic_timer(1) { cm.show_jobs } donetime = EM.add_periodic_timer(1) { donetime.cancel puts "All done? #{cm.all_done?}" if cm.all_done? EM.stop end } } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
virtualmonkey-0.0.1 | spec/cuke_job_spec.rb |