[rspec-users] Step tables - Writing the block for a have_selector matcher

Juanma Cervera lists at ruby-forum.com
Fri Jan 16 06:14:36 EST 2009


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 the have_selector with 
do...end instead of {...}
And it didn't work in these case.
Is this a bug or is it a special feature of this construct.

Juanma Cervera

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

More information about the rspec-users mailing list