Capybara gem.
Fix failing specs.
Refactor.
Test markup with capybara.