What to Expect in a Request Spec
Learn about requests and behavior testing in requests spec, hash variables, HTTP response codes verification, and controller redirection.
Behavior testing
Our main goal in a request spec is to test behavior. We find that test-double validations work well here. If we’re interested in testing the final state ...