Sha256: eb78f42bcc8def916c4d6f1f7c9baf9f31a3a5e085a3ba8e950a72eead59eb1a

Contents?: true

Size: 614 Bytes

Versions: 66

Compression:

Stored size: 614 Bytes

Contents

require 'test/unit'
# Load the environment
unless defined? RADIANT_ROOT
  ENV["RAILS_ENV"] = "test"
  case
  when ENV["RADIANT_ENV_FILE"]
    require ENV["RADIANT_ENV_FILE"]
  when File.dirname(__FILE__) =~ %r{vendor/radiant/vendor/extensions}
    require "#{File.expand_path(File.dirname(__FILE__) + "/../../../../../../")}/config/environment"
  else
    require "#{File.expand_path(File.dirname(__FILE__) + "/../../../../")}/config/environment"
  end
end
require "#{RADIANT_ROOT}/test/test_helper"

class Test::Unit::TestCase
  self.use_transactional_fixtures = true
  self.use_instantiated_fixtures = false
end

Version data entries

66 entries across 35 versions & 6 rubygems

Version Path
radiant-0.7.0 vendor/extensions/textile_filter/test/test_helper.rb
radiant-0.7.0 vendor/extensions/markdown_filter/test/test_helper.rb
radiant-0.7.1 vendor/extensions/textile_filter/test/test_helper.rb
radiant-0.8.0 vendor/extensions/textile_filter/test/test_helper.rb
radiant-0.8.0 vendor/extensions/markdown_filter/test/test_helper.rb
radiant-0.7.1 vendor/extensions/markdown_filter/test/test_helper.rb