The Days Are Action-Packed

Rails 5 Test Prescriptions — by Noel Rappin (30 / 163)

👈 Let’s Write Some Rails | TOC | Who Controls the Controller? 👉

Running the tests now gives a different error since you’ve defined new_project_path:

​ 1) adding a project allows a user to create a project with tasks
​ Failure/Error: visit new_project_path

​ AbstractController::ActionNotFound:
​ The action 'new' could not be found for ProjectsController

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
The Pragmatic Programmers

The Pragmatic Programmers

We create timely, practical books and learning resources on classic and cutting-edge topics to help you practice your craft and accelerate your career.