tabletop-companion/test/fixtures/users.yml

31 lines
550 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-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 %>