Sha256: df132190597f1b994f57eb2ae88927a4aa19d5d05e585ebd21f6bf95c43f6124

Contents?: true

Size: 1.11 KB

Versions: 3

Compression:

Stored size: 1.11 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

3 entries across 3 versions & 1 rubygems

Version Path
sportdb-models-2.0.2 test/helper.rb
sportdb-models-2.0.1 test/helper.rb
sportdb-models-2.0.0 test/helper.rb