Sha256: 2d8e10f708bcadd3c9a2cc5e2ef7266c1a40c1f418c2f4a2a77d2c40fae28bd4

Contents?: true

Size: 753 Bytes

Versions: 3

Compression:

Stored size: 753 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')
)

require 'mocha/mini_test'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ndr_import-4.1.4 test/test_helper.rb
ndr_import-4.1.3 test/test_helper.rb
ndr_import-4.1.2 test/test_helper.rb