tabletop-companion/test/fixtures/users.yml

46 lines
767 B
YAML
Raw Normal View History

2024-04-14 19:01:32 +00:00
DEFAULTS: &DEFAULTS
password_digest: <%= BCrypt::Password.create('password', cost: 5) %>
username: $LABEL
verified: true
email: $LABEL<%= "@example.com" %>
2024-04-14 10:10:10 +00:00
trevor:
2024-04-14 19:01:32 +00:00
<<: *DEFAULTS
2024-04-14 10:10:10 +00:00
username: tsv
first_name: Trevor
last_name: Vallender
2024-05-29 08:09:58 +00:00
gimli:
<<: *DEFAULTS
first_name: Gimli
last_name: son of Glóin
2024-05-29 14:24:18 +00:00
frodo:
<<: *DEFAULTS
first_name: Frodo
last_name: Baggins
uninvited_user:
<<: *DEFAULTS
first_name: Fitzchivalry
last_name: Farseer
2024-04-14 19:01:32 +00:00
unverified:
<<: *DEFAULTS
first_name: Unverified
last_name: User
verified: false
2024-05-26 09:34:09 +00:00
admin:
<<: *DEFAULTS
first_name: Admin
last_name: User
site_roles: admin
2024-04-14 10:10:10 +00:00
<% 1.upto(10) do |i| %>
user_<%= i %>:
2024-04-14 19:01:32 +00:00
<<: *DEFAULTS
2024-04-14 10:10:10 +00:00
first_name: <%= "User#{i}" %>
last_name: <%= "User#{i}" %>
<% end %>