Renamed helpers to correspond to renamed Controller classes.
[merb_radiant.git] / radiant_extensions_plugins / extensions / archive / test / .svn / text-base / test_helper.rb.svn-base
blobee22e90baa8be9349e3f66a4fe3df5b1137ef33f
1 require 'test/unit'
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"
8   end
9   require env_file
10 end
11 require "#{RADIANT_ROOT}/test/test_helper"
13 class Test::Unit::TestCase
14   
15   # Include a helper to make testing Radius tags easier
16   test_helper :extension_tags
17   
18   # Add the fixture directory to the fixture path
19   self.fixture_path << File.expand_path(File.dirname(__FILE__)) + '/fixtures'
20   
21   # Add more helper methods to be used by all extension tests here...
22   
23 end