Changeset 501

Show
Ignore:
Timestamp:
09/29/07 19:37:07 (10 months ago)
Author:
seancribbs
Message:

Force extension loading order to be respected in test mode.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/radiant/lib/generators/extension/templates/test_helper.rb

    r405 r501  
    22unless defined? RADIANT_ROOT 
    33  ENV["RAILS_ENV"] = "test" 
    4   require "#{File.expand_path(File.dirname(__FILE__) + "/../../../../")}/config/boot" 
     4  require "#{File.expand_path(File.dirname(__FILE__) + "/../../../../")}/config/environment" 
    55end 
    66require "#{RADIANT_ROOT}/test/test_helper"