Sha256: f93fd5ab2f2835ae6308619501282dfae0a2a28dead47e5602fc44eac02d0624

Contents?: true

Size: 809 Bytes

Versions: 8

Compression:

Stored size: 809 Bytes

Contents

require 'test/unit'
# Load the environment
unless defined? TRUSTY_CMS_ROOT
  ENV["Rails.env"] = "test"
  case
  when ENV["RADIANT_ENV_FILE"]
    require ENV["RADIANT_ENV_FILE"]
  when File.dirname(__FILE__) =~ %r{vendor/trusty_cms/vendor/extensions}
    require "#{File.expand_path(File.dirname(__FILE__) + "/../../../../../../")}/config/environment"
  else
    require "#{File.expand_path(File.dirname(__FILE__) + "/../../../../")}/config/environment"
  end
end
require "#{TRUSTY_CMS_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

8 entries across 8 versions & 1 rubygems

Version Path
trusty-cms-5.3.3 lib/generators/language_extension/templates/test_helper.rb
trusty-cms-5.3.2 lib/generators/language_extension/templates/test_helper.rb
trusty-cms-5.3.1 lib/generators/language_extension/templates/test_helper.rb
trusty-cms-5.3 lib/generators/language_extension/templates/test_helper.rb
trusty-cms-5.2.3 lib/generators/language_extension/templates/test_helper.rb
trusty-cms-5.2.2 lib/generators/language_extension/templates/test_helper.rb
trusty-cms-5.2.1 lib/generators/language_extension/templates/test_helper.rb
trusty-cms-5.2.0 lib/generators/language_extension/templates/test_helper.rb