On Tue, Jan 27, 2009 at 06:33, Joshua Peek <[email protected]> wrote:

>
> LOL
>
> Any possible way to create a unit test for this?


Ticket with fix here:
http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1803-detached-mongrel-server-renders-no-layout


I failed at creating a unit test. First of all, some tests error out if run
individually and layout tests are one of them. Second, it's really difficult
to simulate a detached Mongrel simply because of the way this whole template
thing bootstraps.

But I would suggest an all-around solution: no relative directory paths
anywhere. Ever.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to