mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-05 06:07:20 +00:00
Cleaned scaffold tests and set up fixtures needed for now.
This commit is contained in:
32
test/fixtures/matches.yml
vendored
32
test/fixtures/matches.yml
vendored
@@ -1,19 +1,19 @@
|
||||
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
r_id: 1
|
||||
g_id: 1
|
||||
g_stat: MyText
|
||||
r_stat: MyText
|
||||
winner_id: 1
|
||||
win_type: MyString
|
||||
score: MyString
|
||||
# one:
|
||||
# r_id: 1
|
||||
# g_id: 1
|
||||
# g_stat: MyText
|
||||
# r_stat: MyText
|
||||
# winner_id: 1
|
||||
# win_type: MyString
|
||||
# score: MyString
|
||||
|
||||
two:
|
||||
r_id: 1
|
||||
g_id: 1
|
||||
g_stat: MyText
|
||||
r_stat: MyText
|
||||
winner_id: 1
|
||||
win_type: MyString
|
||||
score: MyString
|
||||
# two:
|
||||
# r_id: 1
|
||||
# g_id: 1
|
||||
# g_stat: MyText
|
||||
# r_stat: MyText
|
||||
# winner_id: 1
|
||||
# win_type: MyString
|
||||
# score: MyString
|
||||
|
||||
12
test/fixtures/mats.yml
vendored
12
test/fixtures/mats.yml
vendored
@@ -1,9 +1,9 @@
|
||||
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
name: MyString
|
||||
tournament_id: 1
|
||||
# one:
|
||||
# name: MyString
|
||||
# tournament_id: 1
|
||||
|
||||
two:
|
||||
name: MyString
|
||||
tournament_id: 1
|
||||
# two:
|
||||
# name: MyString
|
||||
# tournament_id: 1
|
||||
|
||||
10
test/fixtures/schools.yml
vendored
10
test/fixtures/schools.yml
vendored
@@ -1,9 +1,11 @@
|
||||
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
name: MyString
|
||||
score: 1
|
||||
id: 1
|
||||
name: Central Crossing
|
||||
tournament_id: 1
|
||||
|
||||
two:
|
||||
name: MyString
|
||||
score: 1
|
||||
id: 2
|
||||
name: Grove City
|
||||
tournament_id: 1
|
||||
|
||||
16
test/fixtures/tournaments.yml
vendored
16
test/fixtures/tournaments.yml
vendored
@@ -1,13 +1,11 @@
|
||||
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
name: MyString
|
||||
address: MyString
|
||||
director: MyString
|
||||
director_email: MyString
|
||||
id: 1
|
||||
name: Comet Classic
|
||||
address: Some Place
|
||||
director: Jacob Cody Wimer
|
||||
director_email: jacob.wimer@gmail.com
|
||||
matchups_array:
|
||||
|
||||
|
||||
two:
|
||||
name: MyString
|
||||
address: MyString
|
||||
director: MyString
|
||||
director_email: MyString
|
||||
|
||||
10
test/fixtures/users.yml
vendored
10
test/fixtures/users.yml
vendored
@@ -4,8 +4,8 @@
|
||||
# model remove the '{}' from the fixture names and add the columns immediately
|
||||
# below each fixture, per the syntax in the comments below
|
||||
#
|
||||
one: {}
|
||||
# column: value
|
||||
#
|
||||
two: {}
|
||||
# column: value
|
||||
# one: {}
|
||||
# # column: value
|
||||
# #
|
||||
# two: {}
|
||||
# # column: value
|
||||
|
||||
29
test/fixtures/weights.yml
vendored
29
test/fixtures/weights.yml
vendored
@@ -1,7 +1,30 @@
|
||||
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
max: 1
|
||||
|
||||
id: 1
|
||||
max: 106
|
||||
tournament_id: 1
|
||||
|
||||
two:
|
||||
max: 1
|
||||
id: 2
|
||||
max: 120
|
||||
tournament_id: 1
|
||||
|
||||
three:
|
||||
id: 3
|
||||
max: 113
|
||||
tournament_id: 1
|
||||
|
||||
four:
|
||||
id: 4
|
||||
max: 126
|
||||
tournament_id: 1
|
||||
|
||||
five:
|
||||
id: 5
|
||||
max: 132
|
||||
tournament_id: 1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
394
test/fixtures/wrestlers.yml
vendored
394
test/fixtures/wrestlers.yml
vendored
@@ -1,15 +1,397 @@
|
||||
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
name: MyString
|
||||
name: Zach Collins
|
||||
school_id: 1
|
||||
weight_id: 1
|
||||
seed: 1
|
||||
original_seed: 1
|
||||
|
||||
original_seed: 4
|
||||
season_loss: 8
|
||||
season_win: 30
|
||||
criteria: DP 5th
|
||||
|
||||
two:
|
||||
name: MyString
|
||||
name: Jaden Mattox
|
||||
school_id: 1
|
||||
weight_id: 1
|
||||
seed: 1
|
||||
original_seed: 1
|
||||
season_loss: 3
|
||||
season_win: 49
|
||||
criteria: SP 2nd
|
||||
|
||||
three:
|
||||
name: Jackson Lakso
|
||||
school_id: 1
|
||||
weight_id: 1
|
||||
original_seed: 3
|
||||
season_loss: 8
|
||||
season_win: 30
|
||||
criteria: SQ
|
||||
|
||||
four:
|
||||
name: JD Woods
|
||||
school_id: 1
|
||||
weight_id: 1
|
||||
original_seed: 5
|
||||
season_loss: 12
|
||||
season_win: 30
|
||||
criteria: DP 6th
|
||||
|
||||
five:
|
||||
name: James Wimer
|
||||
school_id: 1
|
||||
weight_id: 1
|
||||
original_seed: 2
|
||||
season_loss: 12
|
||||
season_win: 49
|
||||
criteria: SP 5th
|
||||
|
||||
six:
|
||||
name: Derek Wurzauf
|
||||
school_id: 1
|
||||
weight_id: 2
|
||||
original_seed: 6
|
||||
season_loss: 15
|
||||
season_win: 16
|
||||
criteria:
|
||||
|
||||
seven:
|
||||
name: Casey Davis
|
||||
school_id: 1
|
||||
weight_id: 2
|
||||
original_seed: 5
|
||||
season_loss: 15
|
||||
season_win: 16
|
||||
criteria: DQ
|
||||
|
||||
eight:
|
||||
name: Ethan Leapley
|
||||
school_id: 1
|
||||
weight_id: 2
|
||||
original_seed: 4
|
||||
season_loss: 15
|
||||
season_win: 20
|
||||
criteria: DP 6th
|
||||
|
||||
nine:
|
||||
name: Clayton Ray
|
||||
school_id: 1
|
||||
weight_id: 2
|
||||
original_seed: 1
|
||||
season_loss: 4
|
||||
season_win: 30
|
||||
criteria: SP 7th
|
||||
|
||||
ten:
|
||||
name: Robbie Fusner
|
||||
school_id: 1
|
||||
weight_id: 2
|
||||
original_seed: 3
|
||||
season_loss: 5
|
||||
season_win: 40
|
||||
criteria: SQ
|
||||
|
||||
eleven:
|
||||
name: Kameron Teacher
|
||||
school_id: 1
|
||||
weight_id: 2
|
||||
original_seed: 2
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria: SQ
|
||||
|
||||
twelve:
|
||||
name: Guy1
|
||||
school_id: 1
|
||||
weight_id: 2
|
||||
original_seed: 7
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
thirteen:
|
||||
name: Guy2
|
||||
school_id: 1
|
||||
weight_id: 3
|
||||
original_seed: 1
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
fourteen:
|
||||
name: Guy3
|
||||
school_id: 1
|
||||
weight_id: 3
|
||||
original_seed: 2
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
fifteen:
|
||||
name: Guy4
|
||||
school_id: 1
|
||||
weight_id: 3
|
||||
original_seed: 3
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
sixteen:
|
||||
name: Guy5
|
||||
school_id: 1
|
||||
weight_id: 3
|
||||
original_seed: 4
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
seventeen:
|
||||
name: Guy6
|
||||
school_id: 1
|
||||
weight_id: 3
|
||||
original_seed: 5
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
eighteen:
|
||||
name: Guy7
|
||||
school_id: 1
|
||||
weight_id: 3
|
||||
original_seed: 6
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
ninteen:
|
||||
name: Guy8
|
||||
school_id: 1
|
||||
weight_id: 3
|
||||
original_seed: 7
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
twenty:
|
||||
name: Guy9
|
||||
school_id: 1
|
||||
weight_id: 3
|
||||
original_seed: 8
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
twentyone:
|
||||
name: Guy10
|
||||
school_id: 1
|
||||
weight_id: 3
|
||||
original_seed: 9
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
twentytwo:
|
||||
name: Guy11
|
||||
school_id: 1
|
||||
weight_id: 4
|
||||
original_seed: 1
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
twentythree:
|
||||
name: Guy12
|
||||
school_id: 1
|
||||
weight_id: 4
|
||||
original_seed: 2
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
twentyfour:
|
||||
name: Guy13
|
||||
school_id: 1
|
||||
weight_id: 4
|
||||
original_seed: 3
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
twentyfive:
|
||||
name: Guy14
|
||||
school_id: 1
|
||||
weight_id: 4
|
||||
original_seed: 4
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
twentysix:
|
||||
name: Guy15
|
||||
school_id: 1
|
||||
weight_id: 4
|
||||
original_seed: 5
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
twnetyseven:
|
||||
name: Guy16
|
||||
school_id: 1
|
||||
weight_id: 4
|
||||
original_seed: 6
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
twentyeight:
|
||||
name: Guy17
|
||||
school_id: 1
|
||||
weight_id: 4
|
||||
original_seed: 7
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
twentynine:
|
||||
name: Guy18
|
||||
school_id: 1
|
||||
weight_id: 4
|
||||
original_seed: 8
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
thirty:
|
||||
name: Guy19
|
||||
school_id: 1
|
||||
weight_id: 4
|
||||
original_seed: 9
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
thrityone:
|
||||
name: Guy20
|
||||
school_id: 1
|
||||
weight_id: 4
|
||||
original_seed: 10
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
thirtytwo:
|
||||
name: Guy21
|
||||
school_id: 1
|
||||
weight_id: 4
|
||||
original_seed: 11
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
thirtythree:
|
||||
name: Guy22
|
||||
school_id: 1
|
||||
weight_id: 5
|
||||
original_seed: 1
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
thirtyfour:
|
||||
name: Guy23
|
||||
school_id: 1
|
||||
weight_id: 5
|
||||
original_seed: 2
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
thirtyfive:
|
||||
name: Guy24
|
||||
school_id: 1
|
||||
weight_id: 5
|
||||
original_seed: 3
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
thirtysix:
|
||||
name: Guy25
|
||||
school_id: 1
|
||||
weight_id: 5
|
||||
original_seed: 4
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
thirtyseven:
|
||||
name: Guy26
|
||||
school_id: 1
|
||||
weight_id: 5
|
||||
original_seed: 5
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
thirtyeight:
|
||||
name: Guy27
|
||||
school_id: 1
|
||||
weight_id: 5
|
||||
original_seed: 6
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
thirtynine:
|
||||
name: Guy28
|
||||
school_id: 1
|
||||
weight_id: 5
|
||||
original_seed: 7
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
fourty:
|
||||
name: Guy29
|
||||
school_id: 1
|
||||
weight_id: 5
|
||||
original_seed: 8
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
fourtyone:
|
||||
name: Guy30
|
||||
school_id: 1
|
||||
weight_id: 5
|
||||
original_seed: 9
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
fourtytwo:
|
||||
name: Guy31
|
||||
school_id: 1
|
||||
weight_id: 5
|
||||
original_seed: 10
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
fourtythree:
|
||||
name: Guy32
|
||||
school_id: 1
|
||||
weight_id: 5
|
||||
original_seed: 11
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
|
||||
fourtyfour:
|
||||
name: Guy33
|
||||
school_id: 1
|
||||
weight_id: 5
|
||||
original_seed: 12
|
||||
season_loss: 2
|
||||
season_win: 50
|
||||
criteria:
|
||||
Reference in New Issue
Block a user