<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,7 +1,15 @@
+require 'test/unit'
 # Load the the environment
 unless defined? RADIANT_ROOT
   ENV[&quot;RAILS_ENV&quot;] = &quot;test&quot;
-  require &quot;#{File.expand_path(File.dirname(__FILE__) + &quot;/../../../../&quot;)}/config/boot&quot;
+  case
+  when ENV[&quot;RADIANT_ENV_FILE&quot;]
+    require ENV[&quot;RADIANT_ENV_FILE&quot;]
+  when File.dirname(__FILE__) =~ %r{vendor/radiant/vendor/extensions}
+    require &quot;#{File.expand_path(File.dirname(__FILE__) + &quot;/../../../../../../&quot;)}/config/environment&quot;
+  else
+    require &quot;#{File.expand_path(File.dirname(__FILE__) + &quot;/../../../../&quot;)}/config/environment&quot;
+  end
 end
 require &quot;#{RADIANT_ROOT}/test/test_helper&quot;
 </diff>
      <filename>test/test_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1ffcf79d0f5395388b8dd51ce89a306b007a4a1a</id>
    </parent>
  </parents>
  <author>
    <name>Andrea Franz</name>
    <email>andrea@gravityblast.com</email>
  </author>
  <url>http://github.com/pilu/radiant-gallery/commit/1cff7113ab7f4eb5c1f6a87b4fe0328eaf6f03cf</url>
  <id>1cff7113ab7f4eb5c1f6a87b4fe0328eaf6f03cf</id>
  <committed-date>2008-11-28T17:54:31-08:00</committed-date>
  <authored-date>2008-11-28T17:54:31-08:00</authored-date>
  <message>fixed test helper</message>
  <tree>ddba2eb71f04f43bdb9603a58b3fea76b60af118</tree>
  <committer>
    <name>Andrea Franz</name>
    <email>andrea@gravityblast.com</email>
  </committer>
</commit>
