[rspec-users] Cucumber tables

aslak hellesoy aslak.hellesoy at gmail.com
Fri May 15 16:30:37 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.
>

I just added a wiki page for this:
http://github.com/aslakhellesoy/cucumber/wikis/rdoc
The table RDoc is here:
http://localhost:8808/doc_root/cucumber-0.3.5/rdoc/Cucumber/Ast/Table.html

Aslak

> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list