[rspec-users] How do I change www.example.com in rspec tests?

dblock dblockdotorg at gmail.com
Wed Jun 22 16:09:17 EDT 2011

It looks like request.host is set to www.example.com, how do I change

I want to change it for all tests, and it seems that request is only
available within the tests themselves (tried to do it in
RSpec.configure but that didn't work.

More information about the rspec-users mailing list