2013-04-08 capybaraとpoltergeistを使ってスナップショットをとる。 テスト時にページのスナップショットをとりたい。 capybaraとpoltergeist https://github.com/jonleighton/poltergeist https://github.com/jnicklas/capybara phantomjsのインストール(リンクから抜粋) http://phantomjs.org/build.html sudo apt-get update sudo apt-get install build-essential chrpath git-core libssl-dev libfontconfig1-dev git clone git://github.com/ariya/phantomjs.git cd phantomjs git c