diff options
author | DavisLWebb <davislwebb@ymail.com> | 2014-02-27 17:58:14 -0500 |
---|---|---|
committer | DavisLWebb <davislwebb@ymail.com> | 2014-02-27 17:58:14 -0500 |
commit | 8d75a450ec1e34205ec4bee5587e8bddb9c89d21 (patch) | |
tree | 349c6cd9c9669c94675becdeeaac1c29fd60022e /test/fixtures | |
parent | 6e20d92989739bde287c6a07c03ae3f70755660b (diff) | |
parent | 068e95231c3d2cee113cf77af67ce785d853429e (diff) |
Merge branch 'master' of http://github.com/LukeShu/leaguer
Diffstat (limited to 'test/fixtures')
-rw-r--r-- | test/fixtures/game_attributes.yml | 11 | ||||
-rw-r--r-- | test/fixtures/games.yml | 15 | ||||
-rw-r--r-- | test/fixtures/tournament_options.yml | 11 | ||||
-rw-r--r-- | test/fixtures/tournaments.yml | 14 |
4 files changed, 42 insertions, 9 deletions
diff --git a/test/fixtures/game_attributes.yml b/test/fixtures/game_attributes.yml new file mode 100644 index 0000000..eff7212 --- /dev/null +++ b/test/fixtures/game_attributes.yml @@ -0,0 +1,11 @@ +# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +one: + game_id: + key: MyText + type: 1 + +two: + game_id: + key: MyText + type: 1 diff --git a/test/fixtures/games.yml b/test/fixtures/games.yml new file mode 100644 index 0000000..3068527 --- /dev/null +++ b/test/fixtures/games.yml @@ -0,0 +1,15 @@ +# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +one: + name: MyText + players_per_team: 1 + teams_per_match: 1 + set_rounds: 1 + randomized_teams: 1 + +two: + name: MyText + players_per_team: 1 + teams_per_match: 1 + set_rounds: 1 + randomized_teams: 1 diff --git a/test/fixtures/tournament_options.yml b/test/fixtures/tournament_options.yml new file mode 100644 index 0000000..937a0c0 --- /dev/null +++ b/test/fixtures/tournament_options.yml @@ -0,0 +1,11 @@ +# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +# This model initially had no columns defined. If you add columns to the +# 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 diff --git a/test/fixtures/tournaments.yml b/test/fixtures/tournaments.yml index 937a0c0..4cba7ca 100644 --- a/test/fixtures/tournaments.yml +++ b/test/fixtures/tournaments.yml @@ -1,11 +1,7 @@ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html -# This model initially had no columns defined. If you add columns to the -# 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: + game_id: + +two: + game_id: |