Rspec-page-regression provides a mechanism for regression testing of web page renders in RSpec.  It takes into account html, css, and javascript, by virtue of using phantomjs (via the poltergeist gem) to render snapshots.  It provides an RSpec matcher that compares the test snapshot to an expected image, and facilitates management of the images.