Sha256: f11eb6bd0d279166f6b55f55d9efd5401946e640b683e08967246a86cd83faa5

Contents?: true

Size: 269 Bytes

Versions: 11

Compression:

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

11 entries across 11 versions & 1 rubygems

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