Awesome save_and_open_page by setting the asset_host for Capybara
Problem: You've got a failing Capybara spec, so you drop in
save_and_open_page but it only shows you a un-styled mess of HTML, but at least you can inspect the DOM. Alternatively you try using
caoybara-screenshot but it's just an image so you can't inspect DOM or copy text.
Solution: Set your asset host for Capybara ,
Capybara.asset_host = 'http://localhost:3000' and now it'll be able to figure out where your assets live. You'll get rich pages the way you'd expect them to be rendered while still being able to inspect the DOM and select text.