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:
9
test/fixtures/school_delegates.yml
vendored
Normal file
9
test/fixtures/school_delegates.yml
vendored
Normal 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
13
test/fixtures/tournament_delegates.yml
vendored
Normal 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
|
||||
4
test/fixtures/users.yml
vendored
4
test/fixtures/users.yml
vendored
@@ -15,3 +15,7 @@ one:
|
||||
two:
|
||||
email: test2@test.com
|
||||
id: 2
|
||||
|
||||
three:
|
||||
email: test3@test.com
|
||||
id: 3
|
||||
|
||||
Reference in New Issue
Block a user