Thanks Matt.
You were right,
I have modified routes.rb with mapping root url but I did't understand
why this is needed.
The create action in sessions controller is completely standar.
The sentence that is causing the error
redirect_back_or_default('/')
is not using thr root_url.
I think this is a bug, but I don't know.
Cheers and many thanks.
Juanma Cervera.
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users