It looks like request.host is set to www.example.com, how do I change
that?
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.
It looks like request.host is set to www.example.com, how do I change
that?
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.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs