Sha256: 3970176c9a0754417f75830fd22a2ac1b2dd11b6ce669067f0124a1fd9b0a4fc
Contents?: true
Size: 534 Bytes
Versions: 1
Compression:
Stored size: 534 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.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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cukeq-0.0.1.dev | features/step_definitions/cukeq_steps.rb |