Sha256: 363283a83075ed6ca6bd9ba8d136827cfd0563719a73f5997dda54283f7ff99f

Contents?: true

Size: 285 Bytes

Versions: 11

Compression:

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

11 entries across 11 versions & 1 rubygems

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