You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 3, 2021. It is now read-only.
In Ch.7 p80, there are actual and expected in require_login.rb, but expected is not used in it. This might lead to confusing. So adding some description would be helpful for understanding.
E.g.
We check to see if the actual, expected value we're passing to the matcher (in this case, response as actual only) does what we expect it to (redirect to our login form).
This issue was reported from one of our readers.
The text was updated successfully, but these errors were encountered:
I've never been happy with this contrived example. I got rid of actual, expected for now and changed the link for more information to the Relish documentation. I want to revisit this and come up with a better example for the next major release.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In Ch.7 p80, there are
actual
andexpected
inrequire_login.rb
, butexpected
is not used in it. This might lead to confusing. So adding some description would be helpful for understanding.E.g.
We check to see if the actual, expected value we're passing to the matcher (in this case,
response
asactual
only) does what we expect it to (redirect to our login form).This issue was reported from one of our readers.
The text was updated successfully, but these errors were encountered: