Allow mocking IP address of request for testing.
SunjayDK opened this issue · comments
We check the IP address to see which version of a view to show. That should be testable in specs - requests should be able to have their IP addresses mocked.
Turns out header(...) does this pretty well.
haha, good