Sha256: a0487e430b2e404ec600d4928d407a1c6d5c76c5bc14c0e9607186ff18221ea2

Contents?: true

Size: 344 Bytes

Versions: 1

Compression:

Stored size: 344 Bytes

Contents

# frozen_string_literal: true

require 'minitest/autorun'
require 'mws/orders/parser'

I18n.enforce_available_locales = false

module MiniTest
  class Test
    include MWS::Orders

    def load_fixture(type)
      file = File.expand_path("../fixtures/#{type}.xml", __FILE__)
      body = File.read(file)

      Nokogiri(body)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mws-orders-0.4.0 test/test_helper.rb