Sha256: ce3ab2c612b1fe0c816c6e358c43deb28fce89774b70a7380396c1c653bb7623
Contents?: true
Size: 605 Bytes
Versions: 1
Compression:
Stored size: 605 Bytes
Contents
Then /^the results should contain "([^"]*)"$/ do |string| @results.should include(string) end Then /^the results should contain (\d+)$/ do |int| @results.should include(int.to_i) end Then /^the results should contain (\d+\.\d+)$/ do |float| @results.should include(float.to_f) end Then /^the results should contain (\d+)\/(\d+)\/(\d+)$/ do |day, month, year| @results.should include(Date.civil(year.to_i, month.to_i, day.to_i)) end Then /^the results should contain true$/ do @results.should include true end Then /^the results should contain false$/ do @results.should include false end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dozuki-0.4.0 | features/steps/collection_steps.rb |