On Fri, Jan 16, 2009 at 12:14 PM, Juanma Cervera wrote:
> Ok.
>
> I have solved my problem.
>
> Because I am using spanish for wrinting my features, I didn't paste the
> exact sentences of the code I was using, and pasted instead a
> "manual-translated similar" code.
> And nobody could see the pro
Ok.
I have solved my problem.
Because I am using spanish for wrinting my features, I didn't paste the
exact sentences of the code I was using, and pasted instead a
"manual-translated similar" code.
And nobody could see the problem. Never more.
The problem was that I was writing the block for t
Can somebody confirm that the have_selector method yields to the block?
In all the test I have done it seems it does not work.
I even have try an step like this
when /whatever / do
response.should have_selector("table > tr:nth-child(#{2}) >
td:nth-child(#{1})") { |td|
td.inner_text.should
> ¿Where is the method raw defined?
Sorry this is stupid.
Forget my last question
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
I am having some trouble using step tables.
I am trying with an step similar to the sample step generarated by the
cucumber generator
Then /^I should see the following froobles:$/ do |froobles|
froobles.raw[1..-1].each_with_index do |row, i|
row.each_with_index do |cell, j|
response.s