Sha256: c5bcec92d2cbcab480e6b3decffae0b2ab446d2683f2786d016fb737a42f15f1
Contents?: true
Size: 812 Bytes
Versions: 26
Compression:
Stored size: 812 Bytes
Contents
require 'test/unit' # Load the environment unless defined? TRUSTY_CMS_ROOT ENV['Rails.env'] = 'test' case when ENV['RADIANT_ENV_FILE'] require ENV['RADIANT_ENV_FILE'] when File.dirname(__FILE__) =~ %r{vendor/trusty_cms/vendor/extensions} require "#{File.expand_path(File.dirname(__FILE__) + '/../../../../../../')}/config/environment" else require "#{File.expand_path(File.dirname(__FILE__) + '/../../../../')}/config/environment" end end require "#{TRUSTY_CMS_ROOT}/test/test_helper" class ActiveSupport::TestCase # Include a helper to make testing Radius tags easier test_helper :extension_tags # Add the fixture directory to the fixture path self.fixture_path << File.dirname(__FILE__) + '/fixtures' # Add more helper methods to be used by all extension tests here... end
Version data entries
26 entries across 26 versions & 1 rubygems