[Note: Using Rails 3.1.]
I am trying to test that multiple models are being displayed in the proper order on my page, in my case, by desc date with the most recent on top.
I know I can do the following to check if something exists on the page:
And I should see "Some content on my page."
But I want to do something along the lines of:
And I should see "Most Recent" before "Really old"
How would I go about writing steps to do that? I believe "And I should see" just scans the entire page for the specified argument, just not sure how to approach correct order.
Thanks in advance!