Sha256: 8cca789f7bff6138c035b4efa832cdd3173c5e5f4ce42b6971da0b5d2059de86

Contents?: true

Size: 604 Bytes

Versions: 1

Compression:

Stored size: 604 Bytes

Contents

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kajam-1.0.3.rc2 vendor/extensions/textile_filter/test/test_helper.rb