Sha256: c47c3dfbb86b275faf7f40704cd61baef9d4b5cea16c30bddaa9601433b5a909

Contents?: true

Size: 291 Bytes

Versions: 2

Compression:

Stored size: 291 Bytes

Contents

require_relative 'test_helper'

class SubtypeTest < Minitest::Test
  def test_all_returns_all_subtypes
    VCR.use_cassette('all_subtypes') do
      types = MTG::Subtype.all
      
      assert types.length > 10
      assert types.any? {|type| type == 'Warrior'}
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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