Sha256: 04214148c930a94f3f57338da1f333ab15ea31fe63f107c36f07b515f5875fe9

Contents?: true

Size: 424 Bytes

Versions: 2

Compression:

Stored size: 424 Bytes

Contents

module Workarea
  module GlobalESupport
    def self.included(test)
      test.setup :setup_global_e_config
      test.teardown :reset_global_e_config
    end

    def setup_global_e_config
      @_old_cofig = Workarea.config.global_e

      Workarea.config.global_e.merchant_guid = "abcdabcd-abcd-abcd-abcd-abcdabcdabcd"
    end

    def reset_global_e_config
      Workarea.config.global_e = @_old_cofig
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-global_e-1.3.0 test/support/workarea/global_e_support.rb
workarea-global_e-1.2.1 test/support/workarea/global_e_support.rb