tabletop-companion/test/fixtures/users.yml

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