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:
parent
112ade5765
commit
a043cc9012
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue