~singpolyma/sgx-jmp

7794a8e908d553ae3ca183182316bb0ce8a0e5f6 — Stephen Paul Weber 1 year, 5 months ago 4ffa367
Add missing require

To allow these modules to be used in isolation (especially when
testing).
3 files changed, 6 insertions(+), 0 deletions(-)

M lib/registration.rb
M test/test_registration.rb
M test/test_transaction.rb
M lib/registration.rb => lib/registration.rb +4 -0
@@ 1,8 1,12 @@
# frozen_string_literal: true

require "erb"
require "ruby-bandwidth-iris"

require_relative "./bandwidth_tn_order"
require_relative "./em"
require_relative "./oob"
require_relative "./web_register_manager"

class Registration
	def self.for(iq, customer, web_register_manager)

M test/test_registration.rb => test/test_registration.rb +1 -0
@@ 1,6 1,7 @@
# frozen_string_literal: true

require "test_helper"
require "customer"
require "registration"

class RegistrationTest < Minitest::Test

M test/test_transaction.rb => test/test_transaction.rb +1 -0
@@ 1,6 1,7 @@
# frozen_string_literal: true

require "test_helper"
require "customer"
require "transaction"

Transaction::DB = Minitest::Mock.new