summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-03-06 21:29:24 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-03-06 21:29:24 -0500
commitc9f2abad7b9c967e23ed2b2867d426eb27f61387 (patch)
tree234099af3374285f89573f774795639a9bcb88d9 /test
parentd72452a5965c0df32a13053ae86bcd529fc0fc9e (diff)
make the join tables not have models
Diffstat (limited to 'test')
-rw-r--r--test/fixtures/team_match_pairs.yml9
-rw-r--r--test/fixtures/tournament_user_pairs.yml9
-rw-r--r--test/fixtures/tournaments.yml4
-rw-r--r--test/fixtures/user_team_pairs.yml9
-rw-r--r--test/fixtures/user_tournament_pairs.yml9
-rw-r--r--test/models/team_match_pair_test.rb7
-rw-r--r--test/models/tournament_user_pair_test.rb7
-rw-r--r--test/models/user_team_pair_test.rb7
-rw-r--r--test/models/user_tournament_pair_test.rb7
9 files changed, 2 insertions, 66 deletions
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