Configure tests and helpers for current backend state

This commit is contained in:
hannah.dagemark 2025-05-09 14:58:37 +02:00 committed by Hannah Dagemark
commit 4edae5e7bb
9 changed files with 85 additions and 11 deletions

View file

@ -0,0 +1 @@
# Keep these, they're silly

BIN
test/fixtures/files/test_image.jpg vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 439 KiB

7
test/fixtures/users.yml vendored Normal file
View file

@ -0,0 +1,7 @@
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
one:
name: testuser
status: test
email: test@email.com
password_digest: <%= BCrypt::Password.create('testpassword') %>