Skip to content

Instantly share code, notes, and snippets.

puts 'toto'
def titi
end
#in my step definitions
Then /^I should see in this order the following elements:$/ do |table|
matched_vals = response.body =~ Regexp.new(table.raw.join(".*"), Regexp::MULTILINE)
assert !matched_vals.nil?
end
#in my feature:
Then I should see in this order the following elements:
| primo |