tabletop-companion/test/fixtures/users.yml

16 lines
422 B
YAML

trevor:
username: tsv
password_digest: <%= BCrypt::Password.create('password', cost: 5) %>
email: trevor@example.com
first_name: Trevor
last_name: Vallender
<% 1.upto(10) do |i| %>
user_<%= i %>:
username: <%= "user_#{i}" %>
password_digest: <%= BCrypt::Password.create('password', cost: 5) %>
email: <%= "user_#{i}@example.com" %>
first_name: <%= "User#{i}" %>
last_name: <%= "User#{i}" %>
<% end %>