tested using capybara and rspec. 94% coverage