Skip to content

Commit

Permalink
rubocopに対応
Browse files Browse the repository at this point in the history
  • Loading branch information
TakashimaAyaka authored and TakashimaAyaka committed Dec 18, 2022
1 parent 25cf769 commit 30e24e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/system/surveys_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ class SurveysTest < ApplicationSystemTestCase
assert_text '「その他」と回答された方は、内容をお聞かせください。'
required_answer_checkbox.select_option
assert_no_text '「その他」と回答された方は、内容をお聞かせください。'

required_answer_radio_button = find('.survey-questions-item__radios').all('.radios__item')[4]
required_answer_radio_button.select_option
assert_text '「その他」と回答された方は、内容をお聞かせください。'
normal_radio_button = find('.survey-questions-item__radios').all('.radios__item')[0]
normal_radio_button.select_option
assert_no_text '「その他」と回答された方は、内容をお聞かせください。'

required_answer_linear_scale = find('.linear-scale__points-items').first('.linear-scale__points-item')
required_answer_linear_scale = find('.linear-scale__points-items').first('.linear-scale__points-item')
required_answer_linear_scale.select_option
assert_text 'そのように回答された理由を教えてください。'
end
Expand Down

0 comments on commit 30e24e8

Please sign in to comment.