javalite / activeweb

ActiveWeb moved, see below

Home Page:http://javalite.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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