It seems like some people here had this problem but I couldn\'t find any solution in another topic.
I am doing Chapter 3 of the Ruby on Rails-Tutorial, working on the sta
If you are using Spork you must re-run Spork so your tests will consider the changes in config files like routes.rb, that are pre-loaded with Spork, so are not automatically updated.
Source: this is the source of this information "after changing a file included in the prefork loading (such as routes.rb), you will have to restart the Spork server to load the new Rails environment. If your tests are failing when you think they should be passing, quit the Spork server with Control-C and restart it