Sha256: 85d8d8d899c0dcb00441204ef7cffdc4bd8549f874cf27cba6ed833a34978e25

Contents?: true

Size: 1.16 KB

Versions: 1

Compression:

Stored size: 1.16 KB

Contents

## minitest setup
require 'minitest/autorun'


## our own code
require 'sportdb/models'


#####################
# 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
Lineup      = SportDb::Model::Lineup
Assoc       = SportDb::Model::Assoc
AssocAssoc  = SportDb::Model::AssocAssoc

Round       = SportDb::Model::Round
Group       = SportDb::Model::Group
Stage       = SportDb::Model::Stage
Match       = SportDb::Model::Match
MatchCursor = SportDb::Model::MatchCursor


EventStanding        = SportDb::Model::EventStanding
EventStandingEntry   = SportDb::Model::EventStandingEntry
GroupStanding        = SportDb::Model::GroupStanding
GroupStandingEntry   = SportDb::Model::GroupStandingEntry
AlltimeStanding      = SportDb::Model::AlltimeStanding
AlltimeStandingEntry = SportDb::Model::AlltimeStandingEntry


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

SportDb.setup_in_memory_db

## test helpers here
SportDb.delete!
SportDb.tables

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sportdb-models-2.0.3 test/helper.rb