[Backgroundrb-devel] Different environments in backgroudrb.yml

hemant kumar gethemant at gmail.com
Tue Jan 8 12:15:18 EST 2008

On Tue, 2008-01-08 at 17:43 +0100, Raimond Garcia wrote:
> Hi,
> Got everything setup nicely with backgroundrb for the development  
> environment and running tests with rspec.  However, I have to keep  
> editing the backgroundrb.yml file, to switch between development and  
> testing environment.  How can I declare a development, testing and  
> production environment in backgroundrb.yml?
> Thanks in advance

in your bdrb_test_helper.rb file put:

RAILS_ENV = 'test' at top and you are set.

More information about the Backgroundrb-devel mailing list