[rspec-users] How to define request.domain in when testing

Fernando Perez lists at ruby-forum.com
Wed Sep 24 05:51:50 EDT 2008


Hi,

My application relies on request.domain for doing its job. The problem I
am encountering, is that when running tests, request.domain returns
"test.host", how can I change that so that it returns "mysite.com"?

Thanks in advance.
-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list