Sha256: d6b0f2225ea19faf0b39db5360410f278b4bb74ae7aead2ff7f11b178b9b5078
Contents?: true
Size: 549 Bytes
Versions: 4
Compression:
Stored size: 549 Bytes
Contents
Given /^I have a master and (\d+) slaves running$/ do |n| start_master n.to_i.times { start_slave } end Given /^a report app is running$/ do start_report_app end Given /^I POST the following list to the master web service:$/ do |table| features = table.raw.flatten post(master_url, {:features => features}.to_json) end Then /^the report app should know when the run has finished$/ do sleep 5 # heh. end Then /^I should be able to GET the results$/ do json = get(report_app.url + "/results") JSON.parse(json).size.should == 2 end
Version data entries
4 entries across 4 versions & 1 rubygems