Sha256: aaec0a3e8e817477960d35c2d6413c259d3d4f435efe3d4b25d11a9b4d90bd7a

Contents?: true

Size: 752 Bytes

Versions: 15

Compression:

Stored size: 752 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/minitest'

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ndr_import-8.4.0 test/test_helper.rb
ndr_import-8.3.0 test/test_helper.rb
ndr_import-8.2.0 test/test_helper.rb
ndr_import-8.1.0 test/test_helper.rb
ndr_import-8.0.0 test/test_helper.rb
ndr_import-7.0.0 test/test_helper.rb
ndr_import-6.4.1 test/test_helper.rb
ndr_import-6.4.0 test/test_helper.rb
ndr_import-6.3.0 test/test_helper.rb
ndr_import-6.2.0 test/test_helper.rb
ndr_import-6.1.1 test/test_helper.rb
ndr_import-6.1.0 test/test_helper.rb
ndr_import-6.0.0 test/test_helper.rb
ndr_import-5.1.0 test/test_helper.rb
ndr_import-5.0.0 test/test_helper.rb