Sha256: 7212b1edb3b6651983d8b90cecc1d3b8e7e5fe37add7756b32ff70ea4ae623f7

Contents?: true

Size: 799 Bytes

Versions: 1

Compression:

Stored size: 799 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
  
  # 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

1 entries across 1 versions & 1 rubygems

Version Path
kajam-1.0.3.rc2 lib/generators/language_extension/templates/test_helper.rb