Merge remote-tracking branch 'parent/main' into upstream-20240229

This commit is contained in:
KMY 2024-02-29 09:23:59 +09:00
commit 4b5fc77b6e
59 changed files with 562 additions and 780 deletions

View file

@ -22,6 +22,12 @@ module ProfileStories
click_on I18n.t('auth.login')
end
def as_a_logged_in_admin
# This is a bit awkward, but this avoids code duplication.
as_a_logged_in_user
bob.update!(role: UserRole.find_by!(name: 'Admin'))
end
def with_alice_as_local_user
@alice_bio = '@alice and @bob are fictional characters commonly used as' \
'placeholder names in #cryptology, as well as #science and' \