Sha256: 49a3e26a28d8b5c044b6c79b4fa6532d6afa30f7341ef3c03cc8814228cdc9c4

Contents?: true

Size: 280 Bytes

Versions: 11

Compression:

Stored size: 280 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

11 entries across 11 versions & 1 rubygems

Version Path
mtg_sdk-3.2.1 test/subtype_test.rb
mtg_sdk-3.0.0 test/subtype_test.rb
mtg_sdk-2.2.0 test/subtype_test.rb
mtg_sdk-2.1.0 test/subtype_test.rb
mtg_sdk-2.0.1 test/subtype_test.rb
mtg_sdk-2.0.0 test/subtype_test.rb
mtg_sdk-1.1.1 test/subtype_test.rb
mtg_sdk-1.1.0 test/subtype_test.rb
mtg_sdk-1.0.2 test/subtype_test.rb
mtg_sdk-1.0.1 test/subtype_test.rb
mtg_sdk-1.0.0 test/subtype_test.rb