# encoding: utf-8 ### # to run use # ruby -I ./lib -I ./test test/test_club_reader.rb require 'helper' class TestClubReader < MiniTest::Test def test_parse_at recs = SportDb::Import::ClubReader.parse( <Dallas Burn< from 1996-2004 ################################## # Defunct / Historic Miami Fusion (1998-2001), Fort Lauderdale › Florida CD Chivas USA (2005-2014), Carson › California | Chivas USA TXT pp recs assert_equal 5, recs.size assert_equal 'Atlanta United FC', recs[0].name assert_equal 2017, recs[0].year assert_equal 'Atlanta', recs[0].city assert_equal ['Georgia'], recs[0].geos end def test_parse_years recs = SportDb::Import::ClubReader.parse( <