[rspec-users] Speccing module which should be included in controller

Pat Maddox pat.maddox at gmail.com
Wed Mar 18 12:57:56 EDT 2009

On Mar 18, 2009, at 5:03 AM, Harm wrote:

> This works by the grace that my routes file has a fallback map.connect
> ':controller/:action/:id'. I never use that fallback only for this
> particular test. Is there anyway to get rid of this entry in my
> routes.rb?

map.connect ':controller/:action/:id' if RAILS_ENV == 'test'


More information about the rspec-users mailing list