Permalink
Browse files

Complain if new_base/abstract_unit was already loaded

  • Loading branch information...
1 parent df2d96a commit 3c13551aa2c7f43f7863349ef5699d42dd255801 @jeremy jeremy committed May 22, 2009
Showing with 4 additions and 0 deletions.
  1. +4 −0 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')

0 comments on commit 3c13551

Please sign in to comment.