[Radiant] Virtual Domain extension for mental

Brian Gernhardt benji at silverinsanity.com
Fri Dec 15 12:08:33 CST 2006


On Dec 15, 2006, at 12:47 PM, Brian Gernhardt wrote:

> The PageTestHelper must be mucking with something before the tests to
> add the NoCachePage.  I'll have to see what's going on, and it'll be
> much faster with a debugger at my fingertips.

Close, but no cigar.  I think PageTestHelper is never getting loaded,  
but the fixtures use the classes inside.  Bingo.  Added a require for  
page_test_helper, and viola!

New version of extension (with correctly running tests!) uploaded to:

http://silverinsanity.com/~benji/virtual_domain.tar.gz

And, as a side note, I can't get "ruby -rdebug" or ruby-debug to work  
on virtual_domain_page_test or page_test.  It dies on "uninitialized  
constant Radiant", in config/boot.rb:50.  But it runs without the  
debug module just fine.

~~ Brian



More information about the Radiant mailing list