Sha256: b958ab7a203aaa843f48c0fff13fa36de2a0480355b83257f4a6d38d44312d13

Contents?: true

Size: 812 Bytes

Versions: 23

Compression:

Stored size: 812 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 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

23 entries across 23 versions & 3 rubygems

Version Path
radiant-1.1.4 lib/generators/extension/templates/test_helper.rb
radiant-1.1.3 lib/generators/extension/templates/test_helper.rb
radiant-1.1.2 lib/generators/extension/templates/test_helper.rb
radiant-1.1.1 lib/generators/extension/templates/test_helper.rb
radiant-1.1.0 lib/generators/extension/templates/test_helper.rb
radiant-1.1.0.rc1 lib/generators/extension/templates/test_helper.rb
radiant-1.1.0.beta lib/generators/extension/templates/test_helper.rb
radiant-1.0.1 lib/generators/extension/templates/test_helper.rb
radiant-1.1.0.alpha lib/generators/extension/templates/test_helper.rb
radiant-1.0.0 lib/generators/extension/templates/test_helper.rb
radiant-1.0.0.rc5 lib/generators/extension/templates/test_helper.rb
radiant-1.0.0.rc4 lib/generators/extension/templates/test_helper.rb
radiant-1.0.0.rc3 lib/generators/extension/templates/test_helper.rb
radiant-1.0.0.rc2 lib/generators/extension/templates/test_helper.rb
radiant-1.0.0.rc1 lib/generators/extension/templates/test_helper.rb
radiant-rails3-0.1 lib/generators/extension/templates/test/test_helper.rb
radiantcms-couchrest_model-0.1.4 lib/generators/extension/templates/test_helper.rb
radiantcms-couchrest_model-0.1.3 lib/generators/extension/templates/test_helper.rb
radiantcms-couchrest_model-0.1.2 lib/generators/extension/templates/test_helper.rb
radiantcms-couchrest_model-0.1.1 lib/generators/extension/templates/test_helper.rb