[rspec-users] Cucumber tables

James Byrne lists at ruby-forum.com
Fri May 15 15:08:44 EDT 2009

Chris Flipse wrote:

> They're actually unrelated.  Most of my table matchers have no other 
> regex in the expression
> You're not seeing anything else with the table data because you're not 
> doing
> anything with the table data.
>  Given /the following data rates/ do |table|
>     table.hashes.each do |row|
>        puts row["code"]
>     end
>   end

Thank you very much. Could you give me the rdoc reference for this 
construct.  This is exactly the sort of thing I was looking for and 
could not find.

Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list