the order of elements on an HTML page?
For example, in RSpec I would like to verify that the content of one
<p> element appears before the content of another.
response.should have_selector("p", :content => "Should appear first")
response.should have_selector("p", :content => "Should appear second")
The two lines above test that the 2 contents appear, but I don't know
how to test that the first content appears before the second.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to email@example.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.