Re: [rspec-users] [Cucumber] Tabular data in steps

2009-01-29 Thread Juanma Cervera
Aslak The documentation in this wiki is the best I have ever seen, and it's constantly being improved. Very good job and thanks. Juanma -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge

Re: [rspec-users] [Cucumber] Tabular data in steps

2009-01-29 Thread aslak hellesoy
On Thu, Jan 29, 2009 at 12:29 PM, aslak hellesoy wrote: > On Thu, Jan 29, 2009 at 10:37 AM, Erik Pukinskis > wrote: >> Yes, that should work. But you'd have to do >> >> Given /^there is a country "(.*)" with the cities:$/ do |country_name, >> cities_table| >> ... >> end >> > > Correct. And it's

Re: [rspec-users] [Cucumber] Tabular data in steps

2009-01-29 Thread aslak hellesoy
On Thu, Jan 29, 2009 at 10:37 AM, Erik Pukinskis wrote: > Yes, that should work. But you'd have to do > > Given /^there is a country "(.*)" with the cities:$/ do |country_name, > cities_table| > ... > end > Correct. And it's documented in the Wiki: http://wiki.github.com/aslakhellesoy/cucumber/c

Re: [rspec-users] [Cucumber] Tabular data in steps

2009-01-29 Thread Erik Pukinskis
Yes, that should work. But you'd have to do Given /^there is a country "(.*)" with the cities:$/ do |country_name, cities_table| ... end Erik On Thu, Jan 29, 2009 at 12:47 AM, Juanma Cervera wrote: > Is it possible to mix a normal parameter argument for a step, with > tabular data? > > Somethi