diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-22 11:12:51 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-22 15:32:35 -0700 |
commit | 3c13551aa2c7f43f7863349ef5699d42dd255801 (patch) | |
tree | 3180f493547185414c054e05b480000014fb311f /actionpack/test | |
parent | df2d96a7f05aebca3e9d2367c2a248125b24dca6 (diff) | |
download | rails-3c13551aa2c7f43f7863349ef5699d42dd255801.tar.gz rails-3c13551aa2c7f43f7863349ef5699d42dd255801.tar.bz2 rails-3c13551aa2c7f43f7863349ef5699d42dd255801.zip |
Complain if new_base/abstract_unit was already loaded
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/abstract_unit.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb index 5ae54d097a..c71da7fa6c 100644 --- a/actionpack/test/abstract_unit.rb +++ b/actionpack/test/abstract_unit.rb @@ -1,3 +1,7 @@ +if ENV['new_base'] + puts *caller + raise 'new_base/abstract_unit already loaded' +end $:.unshift(File.dirname(__FILE__) + '/../lib') $:.unshift(File.dirname(__FILE__) + '/../../activesupport/lib') $:.unshift(File.dirname(__FILE__) + '/fixtures/helpers') |