Skip to content

Commit

Permalink
missing parameter name
Browse files Browse the repository at this point in the history
  • Loading branch information
twalpole committed Apr 14, 2024
1 parent cc01c56 commit bf0d667
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/capybara/rspec/matcher_proxies.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ def all(*args, **kwargs, &)
end
end

def within(*args, **kwargs, &)
def within(*args, **kwargs, &block)
if block
within_element(*args, **kwargs, &)
within_element(*args, **kwargs, &block)
else
be_within(*args)
end
Expand Down

0 comments on commit bf0d667

Please sign in to comment.