tabletop-companion/test/fixtures/users.yml

46 lines
767 B
YAML

DEFAULTS: &DEFAULTS
password_digest: <%= BCrypt::Password.create('password', cost: 5) %>
username: $LABEL
verified: true
email: $LABEL<%= "@example.com" %>
trevor:
<<: *DEFAULTS
username: tsv
first_name: Trevor
last_name: Vallender
gimli:
<<: *DEFAULTS
first_name: Gimli
last_name: son of Glóin
frodo:
<<: *DEFAULTS
first_name: Frodo
last_name: Baggins
uninvited_user:
<<: *DEFAULTS
first_name: Fitzchivalry
last_name: Farseer
unverified:
<<: *DEFAULTS
first_name: Unverified
last_name: User
verified: false
admin:
<<: *DEFAULTS
first_name: Admin
last_name: User
site_roles: admin
<% 1.upto(10) do |i| %>
user_<%= i %>:
<<: *DEFAULTS
first_name: <%= "User#{i}" %>
last_name: <%= "User#{i}" %>
<% end %>