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)