From c9f2abad7b9c967e23ed2b2867d426eb27f61387 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 6 Mar 2014 21:29:24 -0500 Subject: make the join tables not have models --- test/fixtures/team_match_pairs.yml | 9 --------- test/fixtures/tournament_user_pairs.yml | 9 --------- test/fixtures/tournaments.yml | 4 ++-- test/fixtures/user_team_pairs.yml | 9 --------- test/fixtures/user_tournament_pairs.yml | 9 --------- test/models/team_match_pair_test.rb | 7 ------- test/models/tournament_user_pair_test.rb | 7 ------- test/models/user_team_pair_test.rb | 7 ------- test/models/user_tournament_pair_test.rb | 7 ------- 9 files changed, 2 insertions(+), 66 deletions(-) delete mode 100644 test/fixtures/team_match_pairs.yml delete mode 100644 test/fixtures/tournament_user_pairs.yml delete mode 100644 test/fixtures/user_team_pairs.yml delete mode 100644 test/fixtures/user_tournament_pairs.yml delete mode 100644 test/models/team_match_pair_test.rb delete mode 100644 test/models/tournament_user_pair_test.rb delete mode 100644 test/models/user_team_pair_test.rb delete mode 100644 test/models/user_tournament_pair_test.rb (limited to 'test') diff --git a/test/fixtures/team_match_pairs.yml b/test/fixtures/team_match_pairs.yml deleted file mode 100644 index 5f9cf2f..0000000 --- a/test/fixtures/team_match_pairs.yml +++ /dev/null @@ -1,9 +0,0 @@ -# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html - -one: - team_id: - match_id: - -two: - team_id: - match_id: diff --git a/test/fixtures/tournament_user_pairs.yml b/test/fixtures/tournament_user_pairs.yml deleted file mode 100644 index dbc4a88..0000000 --- a/test/fixtures/tournament_user_pairs.yml +++ /dev/null @@ -1,9 +0,0 @@ -# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html - -one: - tournament_id: - user_id: - -two: - tournament_id: - user_id: diff --git a/test/fixtures/tournaments.yml b/test/fixtures/tournaments.yml index c58a1ed..27c92f9 100644 --- a/test/fixtures/tournaments.yml +++ b/test/fixtures/tournaments.yml @@ -2,20 +2,20 @@ one: game_id: + status: 1 min_players_per_team: 1 max_players_per_team: 1 min_teams_per_match: 1 max_teams_per_match: 1 set_rounds: 1 randomized_teams: false - status: 1 two: game_id: + status: 1 min_players_per_team: 1 max_players_per_team: 1 min_teams_per_match: 1 max_teams_per_match: 1 set_rounds: 1 randomized_teams: false - status: 1 diff --git a/test/fixtures/user_team_pairs.yml b/test/fixtures/user_team_pairs.yml deleted file mode 100644 index a76036f..0000000 --- a/test/fixtures/user_team_pairs.yml +++ /dev/null @@ -1,9 +0,0 @@ -# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html - -one: - user_id: - team_id: - -two: - user_id: - team_id: diff --git a/test/fixtures/user_tournament_pairs.yml b/test/fixtures/user_tournament_pairs.yml deleted file mode 100644 index 974ee71..0000000 --- a/test/fixtures/user_tournament_pairs.yml +++ /dev/null @@ -1,9 +0,0 @@ -# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html - -one: - user_id: - tournament_id: - -two: - user_id: - tournament_id: diff --git a/test/models/team_match_pair_test.rb b/test/models/team_match_pair_test.rb deleted file mode 100644 index c250b3c..0000000 --- a/test/models/team_match_pair_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class TeamMatchPairTest < ActiveSupport::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/test/models/tournament_user_pair_test.rb b/test/models/tournament_user_pair_test.rb deleted file mode 100644 index c8d1789..0000000 --- a/test/models/tournament_user_pair_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class TournamentUserPairTest < ActiveSupport::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/test/models/user_team_pair_test.rb b/test/models/user_team_pair_test.rb deleted file mode 100644 index 55f5c58..0000000 --- a/test/models/user_team_pair_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class UserTeamPairTest < ActiveSupport::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/test/models/user_tournament_pair_test.rb b/test/models/user_tournament_pair_test.rb deleted file mode 100644 index 6167ff6..0000000 --- a/test/models/user_tournament_pair_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class UserTournamentPairTest < ActiveSupport::TestCase - # test "the truth" do - # assert true - # end -end -- cgit v1.2.3-2-g168b