HouseTrip Deck

I often see long before blocks with lots of should_receive...

...and_return inside. Remember that before blocks are about...

Best results in other decks

Ruby on Rails

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

Search in all decks