diff options
author | Matthew Lemon <y@yulqen.org> | 2024-12-15 17:44:07 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-12-15 17:44:07 +0000 |
commit | 86a2efbefa8d093753ac1577d8378f126d83e363 (patch) | |
tree | 7884bfe87cfdbce0a19529a7538a4046825f3447 | |
parent | 9cf165cb4bbaa15fc0c1ba7286e4ce0b723ceae4 (diff) |
Add `is_admin` attribute to user fixtures
This update includes an `is_admin` attribute for the `one` and `two` user fixtures in the test data. It ensures tests can account for admin-specific functionality.
-rw-r--r-- | test/fixtures/users.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/fixtures/users.yml b/test/fixtures/users.yml index 5e667b8..e430da4 100644 --- a/test/fixtures/users.yml +++ b/test/fixtures/users.yml @@ -2,12 +2,14 @@ one: first_name: Name 1 + is_admin: true last_name: Cippo 1 email_address: one@example.com password_digest: <%= password_digest %> two: first_name: Name 2 + is_admin: true last_name: Cippo 2 email_address: two@example.com password_digest: <%= password_digest %> |