HI all,

When I print Rails.env in one of my initializer, I noticed that the dev env
is loaded first before the test env. There are some bits that I don't want
to run for unit testing (i.e background job). Is there any way to setup
Rails not to run the development env when unit test is ran?

Thanks heaps in advance for your help.


Kind regards,
Joshua.

-- 
http://twitter.com/scrum8

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to