Sha256: d58cc1223ee2c5ed46e0d9dd4ffe9362fd12ba917dfef849638d7dd75e7a2c3e

Contents?: true

Size: 366 Bytes

Versions: 1

Compression:

Stored size: 366 Bytes

Contents

#test/client_test.rb
require_relative 'test_helper'

class ConfigurationTest < Minitest::Test
  def test_defaults
    config = MTG::Configuration.new

    assert_equal 1, config.api_version
  end
  
  def test_reset
    MTG.configure do |config|
      config.api_version = 2
    end
    
    MTG.reset
    
    assert_equal 1, MTG.configuration.api_version
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mtg_sdk-3.2.1 test/configuration_test.rb