learn-co-students / rails-pollywog-ranch-v-000

MIT License
1 stars 505 forks source link

Confusing directions in routes.rb #452

Open kyleblee opened 6 years ago

kyleblee commented 6 years ago

In config/routes.rb, the directions are:

But, in the tests it says: TadpolesController—post tadpoles/:id/metamorphose

(which is also what the specs execute in _spec/02_requests/tadpoles_controllerspec.rb)

kyleblee commented 6 years ago

This contradiction also appears in the #before_action call of app/controllers/tadpoles_controller.rb