Skip to content

Commit

Permalink
☠️
Browse files Browse the repository at this point in the history
  • Loading branch information
northeastprince committed Nov 11, 2023
1 parent e056477 commit 54b4099
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/controllers/admin/users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def index

format.html { render :edit, status: :unprocessable_entity }
end
end
end

def show
Expand Down
2 changes: 1 addition & 1 deletion test/system/admin/users_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Admin::UsersTest < ApplicationSystemTestCase
visit admin_users_path

fill_in :email_address, with: "[email protected]\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)
Expand Down

0 comments on commit 54b4099

Please sign in to comment.