Sha256: 8ea43043c5bf7cab0a560cd050eeb25eed6c1d8e5edd6e4c4c4a916044949c97

Contents?: true

Size: 280 Bytes

Versions: 2

Compression:

Stored size: 280 Bytes

Contents

require_relative 'test_helper'

class TypeTest < Minitest::Test
  def test_all_returns_all_types
    VCR.use_cassette('all_types') do
      types = MTG::Type.all
      
      assert types.length > 10
      assert types.any? {|type| type == 'Creature'}
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mtg_sdk-3.2.0 test/type_test.rb
mtg_sdk-3.1.0 test/type_test.rb