In the final article of this series you’ll gain an in-depth understanding of controller specs, request specs and feature specs. You’ll also learn how to use Capybara to describe a typical user story where all interactions are driven via the user interface. For example, when a user visits a home page, gets redirected to sign in, fills the login form and clicks the login button.
For full article, read at Microverse




