On page 211 we add the login function to the tests; however, if we do not add the name
field to the users.yml
fixture, the tests systematically fail. This adjustment is only proposed on page 214; I think it is better to anticipate it to avoid confusion, also because the text states “Once the tests are passing again, we can move on to the next step”, but the tests fail at this point.
In addition, the should create user
test fails because it tries to create an already existing user. This fix is also implemented on page 214, but for the same reason I think it should be brought forward to page 211.