Agile Web Development with Rails 6 - more system tests need correcting (Iteration H2)

Hey, sorry for taking a while to reply—was on vacation.

As background, the code listings and terminal output in the book is generated from a script that does what the book is explaining to do, so the first two things I can suggest would be:

  1. Compare your code with the downloadable examples as of this chapter. The code in Interation H2 is based on what’s in depot_pc so you can use that as a reference to see what’s working
  2. If that doesn’t work, can you can post your work-in-progress repo on e.g. GitHub, I can take a look.

I guess all that’s to say, the code should work and tests should pass or at least behave the way the book says. If that’s not your experience, try the two things above and, it’s always possible Rails changed something that breaks the book in a subtle way…it wouldn’t be the first time :slight_smile:

2 Likes