1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-31 19:45:45 +00:00

Added logic to delegate tournament access

This commit is contained in:
2016-01-06 18:38:02 +00:00
parent eb9037b078
commit f46029efaf
46 changed files with 417 additions and 121 deletions

9
test/fixtures/school_delegates.yml vendored Normal file
View File

@@ -0,0 +1,9 @@
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
# one:
# user_id: 1
# school_id: 1
# two:
# user_id: 1
# school_id: 1

13
test/fixtures/tournament_delegates.yml vendored Normal file
View File

@@ -0,0 +1,13 @@
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
# one:
# user_id: 1
# tournament_id: 1
# two:
# user_id: 1
# tournament_id: 1
one:
user_id: 3
tournament_id: 1

View File

@@ -15,3 +15,7 @@ one:
two:
email: test2@test.com
id: 2
three:
email: test3@test.com
id: 3