Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Brian Austin <[email protected]>
  • Loading branch information
weeklies and brianjaustin authored Jan 16, 2025
1 parent 277ed88 commit 984445e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/models/pseud.rb
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,6 @@ def reindex_creations
end

def reindex_user
user.enqueue_to_index
after_commit { user.enqueue_to_index }
end
end
8 changes: 4 additions & 4 deletions config/locales/views/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,11 @@ en:
no_invitation: Created without invitation
no_role: No roles
past_emails:
one: 'Past Email:'
other: 'Past Emails:'
one: 'Past email:'
other: 'Past emails:'
past_logins:
one: 'Past Username:'
other: 'Past Usernames:'
one: 'Past username:'
other: 'Past usernames:'
role:
one: 'Role:'
other: 'Roles:'
Expand Down
4 changes: 2 additions & 2 deletions features/admins/users/admin_find_users.feature
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Feature: Admin Find Users page
And I should see "userB"
And I should see "userCB"

Scenario: The Find Users page performs a exact match on name by default
Scenario: The Find Users page performs an exact match on name by default
When I fill in "Name" with "user"
And I submit
Then I should see "0 users found"
Expand Down Expand Up @@ -51,7 +51,7 @@ Feature: Admin Find Users page
And I should see "userCB"
But I should not see "userA"

Scenario: The Find Users page performs a exact match on email by default
Scenario: The Find Users page performs an exact match on email by default
When I fill in "Email" with "ao3"
And I submit
Then I should see "0 users found"
Expand Down

0 comments on commit 984445e

Please sign in to comment.