lib/generators/extension/templates/test_helper.rb in radiant-0.6.2 vs lib/generators/extension/templates/test_helper.rb in radiant-0.6.3
- old
+ new
@@ -1,8 +1,9 @@
-# Load the the environment
+require 'test/unit'
+# # Load the environment
unless defined? RADIANT_ROOT
ENV["RAILS_ENV"] = "test"
- require "#{File.expand_path(File.dirname(__FILE__) + "/../../../../")}/config/boot"
+ require "#{File.expand_path(File.dirname(__FILE__) + "/../../../../")}/config/environment"
end
require "#{RADIANT_ROOT}/test/test_helper"
class Test::Unit::TestCase
\ No newline at end of file