foodsoft/test/fixtures/users.yml
2009-08-15 17:24:08 +02:00

35 lines
1.2 KiB
YAML

# == Schema Information
#
# Table name: users
#
# id :integer not null, primary key
# nick :string(255) default(""), not null
# password_hash :string(255) default(""), not null
# password_salt :string(255) default(""), not null
# first_name :string(255) default(""), not null
# last_name :string(255) default(""), not null
# email :string(255) default(""), not null
# phone :string(255)
# created_on :datetime not null
# reset_password_token :string(255)
# reset_password_expires :datetime
# last_login :datetime
#
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
admin:
nick: admin
first_name: Anton
last_name: Admininistrator
email: admin@foo.test
password_hash: a3c77e64311ad37161e582b28737d1e420962538
password_salt: LNpP/lca
created_on: <%= 1.day.ago.to_s(:db) %>
test:
nick: test
first_name: Tim
last_name: Tester
email: test@foo.test
password_hash: 5549cd54032a72435037893b02d95ebef13cdc57
password_salt: DxnbIF1h
created_on: <%= Time.now.to_s(:db) %>