2 # # Load the environment
3 unless defined? RADIANT_ROOT
4 ENV["RAILS_ENV"] = "test"
5 env_file = "#{File.expand_path(File.dirname(__FILE__) + "/" + "../" * 6)}/config/environment.rb"
6 unless File.exist?(env_file)
7 env_file = "#{File.expand_path(File.dirname(__FILE__) + "/" + "../" * 4)}/config/environment.rb"
11 require "#{RADIANT_ROOT}/test/test_helper"
13 class Test::Unit::TestCase
15 # Include a helper to make testing Radius tags easier
16 test_helper :extension_tags
18 # Add the fixture directory to the fixture path
19 self.fixture_path << File.expand_path(File.dirname(__FILE__)) + '/fixtures'
21 # Add more helper methods to be used by all extension tests here...