If you’re using RSpec request
specs with Rails, a document
object is available in all specs, wrapping the response.body
of each request.
Name | |
---|---|
user@example.org | Example User #1 |
user@example.com | Example User #2 |
This is equivalent to:
Name | |
---|---|
user@example.org | Example User #1 |
user@example.com | Example User #2 |