Sha256: 9cecf5bc1f690cd0cce9a6892d302d89647019c72f7640a409e7d5b5f2be3219

Contents?: true

Size: 726 Bytes

Versions: 4

Compression:

Stored size: 726 Bytes

Contents

require 'simplecov'
SimpleCov.start

require 'active_support/test_case'
require 'active_support/core_ext/string'
require 'ndr_support/safe_path'
require 'ndr_import'
require 'yaml'

begin
  # Shim for Test::Unit vs. Minitest:
  require 'active_support/testing/autorun'
rescue LoadError
  # Rails 4+ only
end

ActiveSupport.test_order = :random if ActiveSupport.respond_to?(:test_order=)

# The default changes to UTC in Rails 4.
# TODO: ndr_support should cope...
ActiveRecord::Base.default_timezone = :local

SafePath.configure! File.dirname(__FILE__) + '/resources/filesystem_paths.yml'
NdrImport::StandardMappings.mappings = YAML.load_file(
  File.expand_path(File.dirname(__FILE__) + '/resources/standard_mappings.yml')
)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ndr_import-4.1.1 test/test_helper.rb
ndr_import-4.1.0 test/test_helper.rb
ndr_import-4.0.1 test/test_helper.rb
ndr_import-4.0.0 test/test_helper.rb