public
Fork of wycats/merb-core
Description: Merb Core: All you need. None you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/auser/merb-core.git
Added Merb.testing? method

This will check for either $TESTING (as used by merb internals/plugins) or

Merb::Config[:testing], which can be set in the config options. Having an
option like this provides a nice interface for the more public facing 
parts of
Merb; the auto-generated spec_helper.rb file for example can just use the 
test
environment setting.
fabien (author)
Tue Mar 11 01:47:18 -0700 2008
commit  adad648d6c700c7ff450ae7a6f1abf3ca136264a
tree    eec2ffb356aa16fccbf48adfb3169b516ed4e358
parent  209ab5ce04f2b2b2579a12228139653af5049616 parent  ea57d20b0d1abd7cf2511d37f9b6cd17a2cda371

Comments

    No one has commented yet.