Rspec and named routes

前端 未结 6 1493
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-30 06:49

I\'m quite new to rails, and trying to follow the railstutorial. Everything goes fine, except for my tests which can\'t get past the named routes (5.3.3)

My routes.r

6条回答
  •  情深已故
    2020-11-30 07:15

    I had the same problem, with the same Tutorial. It turns out that I needed to just restart the Spork service, and all worked fine.

    The solution posted by Tom L worked for me, but when I removed that line and restarted Spork, that also fixed the problem.

    Hope that helps out any other people who are wary about deviating from the tutorial's code!

提交回复
热议问题