Sha256: ec5a3b515f2d3b97306a3536d4eb3a3693efb1eea98939d2b34ea545cc20755e

Contents?: true

Size: 296 Bytes

Versions: 2

Compression:

Stored size: 296 Bytes

Contents

require_relative 'test_helper'

class SupertypeTest < Minitest::Test
  def test_all_returns_all_types
    VCR.use_cassette('all_supertypes') do
      types = MTG::Supertype.all
      
      assert types.length == 5
      assert types.any? {|type| type == 'Legendary'}
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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