From 86a2efbefa8d093753ac1577d8378f126d83e363 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 15 Dec 2024 17:44:07 +0000 Subject: 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. --- test/fixtures/users.yml | 2 ++ 1 file changed, 2 insertions(+) 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 %> -- cgit v1.2.3