mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-01-27 10:38:50 +01:00
Use Omniauthable user model with admin role
This commit is contained in:
17
test/fixtures/users.yml
vendored
Normal file
17
test/fixtures/users.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
# 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
|
||||
#
|
||||
admin:
|
||||
provider: github
|
||||
uid: admin
|
||||
name: admin
|
||||
role: 1
|
||||
|
||||
translator:
|
||||
provider: github
|
||||
uid: translator
|
||||
name: translator
|
||||
role: 0
|
||||
Reference in New Issue
Block a user