jnicklas/capybara — pull request #1434 by neilma (2014-10-29 23:00:46+00:00)
Title: Added methods #previous #next on Node Element to locate closest previous...

#next() finds the next sibling node of the current node.
#previous() finds the first previous element of the current node.
Specs are passing.