Fix tests

This commit is contained in:
Erich Kist 2013-12-09 11:11:50 -02:00
parent e8e1973d17
commit 8980edb5d7
2 changed files with 2 additions and 2 deletions

View File

@ -244,7 +244,7 @@ class CollectionCheckBoxesInputTest < ActionView::TestCase
with_input_for @user, :gender, :check_boxes, collection: [:male, :female], item_wrapper_class: 'custom'
assert_no_select 'label.checkbox'
assert_select 'label.custom'
assert_select 'span.custom'
end
end
end

View File

@ -345,7 +345,7 @@ class CollectionRadioButtonsInputTest < ActionView::TestCase
with_input_for @user, :gender, :radio_buttons, collection: [:male, :female], item_wrapper_class: 'custom'
assert_no_select 'label.radio'
assert_select 'label.custom'
assert_select 'span.custom'
end
end
end