Just use a full url:

      response = 
request("http://playground.playground.pele.cx/blogposts/show/1";, :method => 
"GET")

Shalon Wood

scottmotte <[email protected]> writes:

> This is something I'd love to know as well. I tried many different
> combinations a month ago but with no success. Atmos mentions it is
> possible, but after searching code source on github I haven't been
> able to find any example usage of it.
>
> http://atmos.org/index.php/2008/11/29/merb-10-controller-testing/
>
>
> On Mar 17, 12:51 am, Peter <[email protected]> wrote:
>> Hello,
>>
>> Please how can I change in my test the default domain "example.org" ?
>>
>> I tried this request['HTTP_HOST'] = "test.example.org" in my before
>> (:each) do but it's not working.
>>
>> wrong number of arguments (0 for 1)
>>
>> Thanks,
>>
>> Peter.
> >
>

-- 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to