Skip to content

Commit

Permalink
fix has_no_checked_field? with filter block
Browse files Browse the repository at this point in the history
  • Loading branch information
twalpole committed Nov 22, 2016
1 parent 0ef62da commit 00a8aba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capybara/node/matchers.rb
Expand Up @@ -327,7 +327,7 @@ def has_checked_field?(locator=nil, options={}, &optional_filter_block)
#
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

##
Expand Down

0 comments on commit 00a8aba

Please sign in to comment.