1
0
Fork 0
mirror of https://github.com/heartcombo/simple_form.git synced 2022-11-09 12:19:26 -05:00

Use assert_no_select instead of assert_select(..., false)

This commit is contained in:
Rigoberto Molina 2018-09-18 03:06:07 -07:00
parent 112ade5765
commit a043cc9012

View file

@ -113,7 +113,7 @@ class DiscoveryTest < ActionView::TestCase
test 'new inputs can override the default input_html_classes' do
discovery do
with_form_for @user, :avatar, as: :file
assert_select 'form input[type=file]#user_avatar.file.file-upload', false
assert_no_select 'form input[type=file]#user_avatar.file.file-upload'
assert_select 'form input[type=file]#user_avatar.file-upload'
end
end