You can always just set $TESTING=true in your test_helper file and use  
it that way.

-Ezra


On May 16, 2008, at 3:10 PM, Aryk Grosz wrote:
>
> How do I know in my code that Im in the middle of running test cases.
>
> I thought there was a "$TESTING" variable that I could check but that
> one is always empty.
>
> I would like to be able to know whether or not to load in test helpers
> in the init.rb files of plugins.
> -- 
> Posted via http://www.ruby-forum.com/.
>
> 



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

Reply via email to