On 8 Oct 2008, at 23:17, Nick wrote:
> > Hi guys. I'm writing a plugin for use in the test environment. > However, when I run ``rake test'' or ``rake spec'', RAILS_ENV is set > to "development" when my plugin's init.rb is run. > > How do you configure a plugin to load require a file in the test > environment? Are you getting hoodwinked by the fact that the development environment is loaded once in order to dump its database (and then the test environment loads) ? Fred --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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-talk?hl=en -~----------~----~----~----~------~----~------~--~---

