Michael Klishin <[email protected]> writes: > On 25.01.2009, at 21:49, Shalon Wood wrote: > >> Hmm. I'm actually using full urls in each feature, since I do use >> subdomains, so would that actually be a problem? > > > I copied merb's request_helper.rb and modified the following line: > > - uri.host ||= "example.org" > + uri.host ||= (Merb::Config[:subdomains][:base_domain] || > raise("Merb::Config[:subdomains][:base_domain] is not set. Should be > myapp.test for test env")) > > To understand why it is necessary, let me explain how webrat works:
That was helpful -- thanks! Shalon Wood -- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
