visit '/static_pages/home' expect(page).to have_content('Sample App') Visit simulates visiting the website (provided by capybara), and capybara also...
$ rails generate integration_test static_pages
Best results in other decks
github.com
When using capybara (for request specs) together with vcr while trying to run with selenium throws the following error:
I often see long before blocks with lots of should_receive...
...and_return inside. Remember that before blocks are about...