mirror of
https://github.com/heartcombo/simple_form.git
synced 2022-11-09 12:19:26 -05:00
Assert the html tag is not escaped
This commit is contained in:
parent
5364fdc0f2
commit
97c5832473
1 changed files with 2 additions and 2 deletions
|
@ -100,8 +100,8 @@ class CollectionRadioButtonsInputTest < ActionView::TestCase
|
|||
with_input_for @user, :gender, :radio_buttons, collection: [:male, :female]
|
||||
assert_select 'input[type=radio][value=male]'
|
||||
assert_select 'input[type=radio][value=female]'
|
||||
assert_select 'label[for=user_gender_male]', 'Male'
|
||||
assert_select 'label[for=user_gender_female]', 'Female'
|
||||
assert_select 'label[for=user_gender_male] strong', 'Male'
|
||||
assert_select 'label[for=user_gender_female] strong', 'Female'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue