Topic: rspec and subdomain_routes


I'm having some trouble with my controller specs when using the subdomain_routes gem.
The only thing that still works is the named routes part.

My whole authentication system is running under
The routes for that:

map.subdomain :secure, :name => :secure do |secure|
  secure.login :controller => 'sessions', :action => 'new'
  secure.logout ...

This means the routes are only recognized under and not or
Obviously this is exactly what I need but now 30% of my specs are broken and I ran out of ideas on how to fix them.

Anyone an idea?

Last edited by fibe (2010-04-03 04:20:36)