From 54b409937af2848c707917d9de517f16885d82e6 Mon Sep 17 00:00:00 2001 From: "matt7@hey.com" Date: Sat, 11 Nov 2023 13:25:53 -0500 Subject: [PATCH] =?UTF-8?q?=E2=98=A0=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/admin/users_controller.rb | 1 + test/system/admin/users_test.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/admin/users_controller.rb b/app/controllers/admin/users_controller.rb index b6d30db3..80a26bbc 100644 --- a/app/controllers/admin/users_controller.rb +++ b/app/controllers/admin/users_controller.rb @@ -14,6 +14,7 @@ def index format.html { render :edit, status: :unprocessable_entity } end + end end def show diff --git a/test/system/admin/users_test.rb b/test/system/admin/users_test.rb index 234efc53..4b81def6 100644 --- a/test/system/admin/users_test.rb +++ b/test/system/admin/users_test.rb @@ -11,7 +11,7 @@ class Admin::UsersTest < ApplicationSystemTestCase visit admin_users_path fill_in :email_address, with: "nonexistent@hey.com\n" - assert_text /not found/i + assert_text(/not found/i) fill_in :email_address, with: "#{@user.email_address}\n" assert_redirected_to admin_user_path(@user)