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 f528684 commit 1f06b16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/capybara/rspec/matcher_proxies.rb
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 1f06b16

Please sign in to comment.