2008/11/12 Joaquin Rivera Padron <[EMAIL PROTECTED]>:

> I would like to assure in my scenario that the list shown is in the correct
> order (e.g. ASC or DESC).
>
> I can spec that but I feel it would be more client-oriented if I could do it
> in the feature... any ideas?

You ask how to implement such a step?

I've done this by using Hpricot - fetching the item-lines from the result into
an array and checking this for the right order.

Not very nice. Any better ideas?
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to