Sha256: 0a901d04a83180d576cb1c115cb890e1bd87ad2034051b8e950fb52aece50280

Contents?: true

Size: 1.01 KB

Versions: 3

Compression:

Stored size: 1.01 KB

Contents

## $:.unshift(File.dirname(__FILE__))

## minitest setup

# require 'minitest/unit'
require 'minitest/autorun'


## our own code

require 'sportdb'


#####################
# Models shortcuts

Country    = WorldDb::Model::Country

Person     = PersonDb::Model::Person

League     = SportDb::Model::League
Season     = SportDb::Model::Season
Event      = SportDb::Model::Event
Team       = SportDb::Model::Team
Roster     = SportDb::Model::Roster

Round      = SportDb::Model::Round
Game       = SportDb::Model::Game
GameCursor = SportDb::Model::GameCursor


####################
# Reader shortcuts

Reader             = SportDb::Reader
TeamReader         = SportDb::TeamReader
SeasonReader       = SportDb::SeasonReader
LeagueReader       = SportDb::LeagueReader
GameReader         = SportDb::GameReader
NationalTeamReader = SportDb::NationalTeamReader
RaceTeamReader     = SportDb::RaceTeamReader

PersonReader       = PersonDb::PersonReader

#################################
# setup db -> schema / tables

SportDb.setup_in_memory_db

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sportdb-1.8.26 test/helper.rb
sportdb-1.8.25 test/helper.rb
sportdb-1.8.24 test/helper.rb