Skip to content

Commit

Permalink
追加した属性を使用してテストをするように修正
Browse files Browse the repository at this point in the history
  • Loading branch information
MikotoMakizuru committed Sep 19, 2024
1 parent 576228e commit 4d35cea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/system/admin/users_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,8 @@ class Admin::UsersTest < ApplicationSystemTestCase
user = users(:advijirou)
visit_with_auth "/admin/users/#{user.id}/edit", 'komagata'
assert_no_text 'メンター紹介用公開プロフィール'
check 'user_mentor', allow_label_click: true, visible: false
assert has_checked_field?('user_mentor', visible: false)
check 'checkbox_mentor', allow_label_click: true, visible: false
assert has_checked_field?('checkbox_mentor', visible: false)
click_on '更新する'
assert_text 'ユーザー情報を更新しました'
visit_with_auth "/admin/users/#{user.id}/edit", 'komagata'
Expand Down

0 comments on commit 4d35cea

Please sign in to comment.