Basic tests added
This commit is contained in:
parent
6239fb4dcb
commit
5498e9b9a4
8 changed files with 137 additions and 30 deletions
20
test/fixtures/users.yml
vendored
Normal file
20
test/fixtures/users.yml
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
admin:
|
||||
name: Super Sayajin
|
||||
created_at: 2018-07-01
|
||||
updated_at: 2018-07-01
|
||||
email: admin@debian.ork
|
||||
sign_in_count: 5
|
||||
provider: local
|
||||
admin: 1
|
||||
encrypted_password: <%= Devise::Encryptor.digest(User, 'adminsecret') %>
|
||||
|
||||
normal:
|
||||
name: Norman Normal
|
||||
created_at: 2018-06-01
|
||||
updated_at: 2018-06-01
|
||||
email: mortal@debian.ork
|
||||
sign_in_count: 3
|
||||
provider: local
|
||||
admin: 0
|
||||
encrypted_password: <%= Devise::Encryptor.digest(User, 'normalsecret') %>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue