Sha256: 090d3788c1a8092e62c43b9349ba7f14f804725bdbccb2be6efed71b92f218ac
Contents?: true
Size: 724 Bytes
Versions: 3
Compression:
Stored size: 724 Bytes
Contents
# encoding: utf-8 ### # to run use # ruby -I ./lib -I ./test test/test_builder.rb require 'helper' class TestBuilder < MiniTest::Test def test_builder code =<<EOS ## comments world 'openmundi/world.db', setup: 'countries' football 'openfootball/national-teams' ## NOTE: default is setup: 'all' ### todo/fix: download archive only once(!!) even if included more than once ## football 'openfootball/world-cup', setup: '2014_quali' football 'openfootball/world-cup', setup: '2014' ## more comments EOS builder = SportDb::Builder.load( code ) ## builder.run ## builder.download builder.read assert true # if we get here - test success end end # class TestBuilder
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sportdb-1.9.13 | test/test_builder.rb |
sportdb-1.9.12 | test/test_builder.rb |
sportdb-1.9.11 | test/test_builder.rb |