Sha256: f70fa5b5af93a82e3916678ae753421bb15b1d320e2b152c09126b9aab20ee03

Contents?: true

Size: 683 Bytes

Versions: 2

Compression:

Stored size: 683 Bytes

Contents

# Configure Rails Environment
ENV['RAILS_ENV'] = 'test'

require File.expand_path('../dummy/config/environment.rb', __FILE__)
require 'rails/test_help'

# for RubyMine
require 'minitest/reporters'
MiniTest::Reporters.use! MiniTest::Reporters::SpecReporter.new

class ActiveSupport::TestCase
  def load_test_sdn_file
    sdn = File.new(File.dirname(__FILE__) + '/files/test_sdn_data_load.pip')
    address = File.new(File.dirname(__FILE__) + '/files/test_address_data_load.pip')
    alt = File.new(File.dirname(__FILE__) + '/files/test_alt_data_load.pip')
    OfacSdnIndividualLoader.active_record_file_load(sdn, address, alt)
    sdn.close
    address.close
    alt.close
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ofac-3.0.1 test/test_helper.rb
ofac-3.0.0 test/test_helper.rb