System test added to verify auto-approval of screenshots from moderators
This commit is contained in:
parent
47df4d8afd
commit
86bfff58f2
3 changed files with 60 additions and 9 deletions
7
test/fixtures/users.yml
vendored
7
test/fixtures/users.yml
vendored
|
|
@ -18,11 +18,12 @@ normal:
|
|||
pseudo: true
|
||||
encrypted_password: <%= Devise::Encryptor.digest(User, 'normalsecret') %>
|
||||
|
||||
debian:
|
||||
moderator:
|
||||
name: Detlef Debian
|
||||
created_at: 2018-01-01
|
||||
updated_at: 2018-01-01
|
||||
email: detlef@debian.org
|
||||
sign_in_count: 0
|
||||
provider: salsa
|
||||
encrypted_password: nil
|
||||
provider: local
|
||||
moderator_role: true
|
||||
encrypted_password: <%= Devise::Encryptor.digest(User, 'moderatorsecret') %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue