Blame view

test/test_helper.rb 529 Bytes
dc8aa5b6   Joe Weakley   Rubocop corrections
1
  # frozen_string_literal: true
87fd11a1   Isaac Lewis   reorg
2
  
dc8aa5b6   Joe Weakley   Rubocop corrections
3
4
5
6
7
  $LOAD_PATH.unshift File.expand_path('../lib', __dir__)
  require 'syspro'
  
  require 'pry'
  require 'minitest/autorun'
f65bf747   Joe Weakley   Added and configu...
8
9
10
11
12
13
  require 'minitest-vcr'
  require 'webmock'
  
  VCR.configure do |c|
    c.cassette_library_dir = 'test/cassettes'
    c.hook_into :webmock
23108441   Nathan Ockerman   Replace sensitive...
14
15
16
    c.filter_sensitive_data('<syspro_username>') { ENV['SYSPRO_USERNAME'] }
    c.filter_sensitive_data('<syspro_password>') { ENV['SYSPRO_PASSWORD'] }
    c.filter_sensitive_data('<syspro_company>') { ENV['SYSPRO_COMPANY'] }
f65bf747   Joe Weakley   Added and configu...
17
18
19
  end
  
  MinitestVcr::Spec.configure!