On Aug 27, 2005, at 12:36 PM, Señor J. Onion wrote:
> Hi,
>
> I want to write functional tests for my app that takes the subdomain
> into consideration. So for example, I want to ensure that user 1
> cannot access user2.myapp.com/whatever
>
> Is there a way to write functional tests to do this?
>
> Thanks
> --
> Take care,
> Joerg // www.ak47.tv
@request.host = "foo.myhost.com"
Either in your setup method, or before you call
get/post/process/whatever.
--
Scott Barron
Lunchbox Software
http://lunchboxsoftware.com
http://lunchroom.lunchboxsoftware.com