James Britt <jamesUNDERBARb / neurogami.com> wrote in message news:<414F10EA.9010009 / neurogami.com>...
> Francis Hwang wrote:
> > 
> > But that doesn't seem to work. Suggestions?
> 
> Can you just set environment variables?
> 
>   ENV['QUERY_STRING'] = 'foo=bar&x=2&this=that'
> 
> 
> James

Actually, I spoke too soon. The code I posted above does seem to work,
I was just misreading the error I was getting:

../integrate.rb:27:in `instance_eval'(TestSendNetArtNewsStory):
(eval):11:in `instance_eval'undefined method `include' for
#<StringIO:0xbf2402d8> (NoMethodError)

that's because on line 11 of the .rhtml file, there's an "include
Lafcadio" statement, which I guess doesn't work if it's called in the
context of a StringIO. (I tried Module.include as well, but that
complains that it's a private method.) Any ideas?

Setting the environment variable didn't work, btw.