test/test_helper.rb
# Add more helper methods to be used by all tests here..
Add more helper methods to be used by all tests here
Add more helper methods to be used by all tests here
def borrowers_stub
    stub_request(:get, /.*borrowers.*/).to_return(
      status: 200,
      body: File.read(Rails.root.join('test/fixtures/files/hip.xml')),
      headers: {}
    )
  end
def borrowers_stub stub_request ( :get , / .*borrowers.* / ) . to_return ( status : 200 , body : File . read ( Rails . root . join ( 'test/fixtures/files/hip.xml' ) ) , headers : { } ) end
Add more helper methods to be used by all tests here..
Add more helper methods to be used by all tests here ..