User model test - still need the strong password and email validation.

This commit is contained in:
2023-01-26 21:32:14 +00:00
parent d73d234465
commit 6006b8bc97
3 changed files with 60 additions and 10 deletions

View File

@@ -4,8 +4,32 @@
# model remove the "{}" from the fixture names and add the columns immediately
# below each fixture, per the syntax in the comments below
#
# one: {}
# # column: value
# #
# two: {}
# # column: value
admin:
email: "jez@hiddenagenda.ltd.uk"
encrypted_password: <%= Devise::Encryptor.digest(User,'password') %>
reset_password_token: <%= nil %>
remember_created_at: <%= nil %>
sign_in_count: 1
current_sign_in_at: "2012-11-16 11:49:12"
last_sign_in_at: "2012-11-16 11:49:12"
current_sign_in_ip: "127.0.0.1"
last_sign_in_ip: "127.0.0.1"
failed_attempts: 0
locked_at: <%= nil %>
role: 1000
user:
email: "user@hiddenagenda.ltd.uk"
encrypted_password: <%= Devise::Encryptor.digest(User,'password') %>
reset_password_token: <%= nil %>
remember_created_at: <%= nil %>
sign_in_count: 1
current_sign_in_at: "2012-11-16 11:49:12"
last_sign_in_at: "2012-11-16 11:49:12"
current_sign_in_ip: "127.0.0.1"
last_sign_in_ip: "127.0.0.1"
failed_attempts: 0
locked_at: <%= nil %>
role: 100