Sha256: b8ca9063462c29a87fbca4194d7efceba50860bf734fe9c31f8d4cac3d7e9b6e

Contents?: true

Size: 809 Bytes

Versions: 45

Compression:

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

45 entries across 45 versions & 4 rubygems

Version Path
radiantcms-couchrest_model-0.1.9 lib/generators/extension/templates/test_helper.rb
radiantcms-couchrest_model-0.1.8 lib/generators/extension/templates/test_helper.rb
radiantcms-couchrest_model-0.1.7 lib/generators/extension/templates/test_helper.rb
radiantcms-couchrest_model-0.1.6 lib/generators/extension/templates/test_helper.rb
radiantcms-couchrest_model-0.1.5 lib/generators/extension/templates/test_helper.rb
radiantcms-couchrest_model-0.1.4 lib/generators/language_extension/templates/test_helper.rb
radiantcms-couchrest_model-0.1.3 lib/generators/language_extension/templates/test_helper.rb
radiantcms-couchrest_model-0.1.2 lib/generators/language_extension/templates/test_helper.rb
radiantcms-couchrest_model-0.1.1 lib/generators/language_extension/templates/test_helper.rb
radiantcms-couchrest_model-0.1 lib/generators/language_extension/templates/test_helper.rb
radiant-0.7.2 lib/generators/extension/templates/test_helper.rb
radiant-0.9.1 lib/generators/language_extension/templates/test_helper.rb
radiant-0.8.2 lib/generators/extension/templates/test_helper.rb
radiant-0.9.0.rc2 lib/generators/language_extension/templates/test_helper.rb
radiant-rc-0.9.0 lib/generators/extension/templates/test_helper.rb
radiant-0.8.1 lib/generators/extension/templates/test_helper.rb
radiant-0.6.5.1 lib/generators/extension/templates/test_helper.rb
radiant-0.6.5 lib/generators/extension/templates/test_helper.rb
radiant-0.6.6 lib/generators/extension/templates/test_helper.rb
radiant-0.6.7 lib/generators/extension/templates/test_helper.rb