Sha256: d4457d2d26bc73d5cbd4a9efa065e24bfa687b861ffff1d9828a0d980e3147fd

Contents?: true

Size: 363 Bytes

Versions: 2

Compression:

Stored size: 363 Bytes

Contents

When /^I start the "([^"]*)" survey$/ do |name|
  When "I go to the surveys page"
  Then "I should see \"#{name}\""
  click_button "Take it"
end

Then /^there should be (\d+) response set with (\d+) responses with:$/ do |rs_num, r_num, table|
  ResponseSet.count.should == rs_num.to_i
  Response.count.should == r_num.to_i
  # table is a Cucumber::Ast::Table
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
surveyor-0.19.1 features/step_definitions/surveyor_steps.rb
surveyor-0.19.0 features/step_definitions/surveyor_steps.rb