alphagov/whitehall — pull request #1048 by tekin (2013-11-13 17:20:20+00:00)
Title: Test suite robustness

A couple of things that make the test suite more robust: Improved HTML comparison; and avoiding using the `nth-child` selector in capybara steps, which is unreliable on some builds of nokogiri (it depends on which version of libxml2 it was built against. Nokogiri 1.5.10 on vanilla Mavericks doesn't like it for example).