From 90617e8e3dfe97b2b91e8ec2764370a3fd55ec02 Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Wed, 17 Sep 2025 13:57:07 +0200 Subject: [PATCH] Rename redundant name --- test/models/user/accessor_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/models/user/accessor_test.rb b/test/models/user/accessor_test.rb index 668a97dda..96a743ce0 100644 --- a/test/models/user/accessor_test.rb +++ b/test/models/user/accessor_test.rb @@ -2,10 +2,10 @@ require "test_helper" class User::AccessorTest < ActiveSupport::TestCase test "new users get added to all_access collections on creation" do - regular_user = User.create!(name: "Jorge", email_address: "testregular@example.com", password: "secret123456") + user = User.create!(name: "Jorge", email_address: "testregular@example.com", password: "secret123456") - assert_includes regular_user.collections, collections(:writebook) - assert_equal Collection.all_access.count, regular_user.collections.count + assert_includes user.collections, collections(:writebook) + assert_equal Collection.all_access.count, user.collections.count end test "system user does not get added to collections on creation" do