How do I test the order of elements on a rails app page with Rspec / Capybara?
To test the order of elements on a page with Rspec and Capybara, you can do the following: 1. Create a new Rspec test to check the display order of the teams: # spec/features/team_index_spec.rb req...
![](https://secure.gravatar.com/avatar/07877f5514881a512676deb912f91326.png?default=mp&rating=pg&size=48)