1
0
Fork 0
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:
Rafael Mendonça França 2014-07-10 14:09:15 -03:00
parent 5364fdc0f2
commit 97c5832473

View file

@ -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