Capybara is arguably one of the most used tools in testing in Ruby on Rails. If you need to show the content of the page you are testing, you can use the following command
This is helpful if you want to see what the problem is with your tests.
There is another really helpful command that you can use.
save_and_open_page => #<Process::Waiter:0x007fe07aecbbe0 sleep>
This will open a web browser page and show the content. You wouldn’t see any design here.