fix has_no_checked_field? with filter block

This commit is contained in:
Thomas Walpole 2016-11-22 11:32:16 -08:00
parent 0ef62da2f5
commit 00a8abaaed
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ module Capybara
#
def has_no_checked_field?(locator=nil, options={}, &optional_filter_block)
locator, options = nil, locator if locator.is_a? Hash
has_no_selector?(:field, locator, options.merge(checked: true))
has_no_selector?(:field, locator, options.merge(checked: true), &optional_filter_block)
end
##