# encoding: utf-8 ### # to run use # ruby -I ./lib -I ./test test/test_countries.rb require 'helper' class TestCountries < MiniTest::Test def test_countries pp SportDb::Import.config.countries eng = SportDb::Import.config.countries[:eng] assert_equal 'eng', eng.key assert_equal 'England', eng.name assert_equal 'ENG', eng.code at = SportDb::Import.config.countries[:at] assert_equal 'at', at.key assert_equal 'Austria', at.name assert_equal 'AUT', at.code end end # class TestCountries