Skip to content

Commit 1f06b16

Browse files
committed
missing parameter name
1 parent f528684 commit 1f06b16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/capybara/rspec/matcher_proxies.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ def all(*args, **kwargs, &)
1010
end
1111
end
1212

13-
def within(*args, **kwargs, &)
13+
def within(*args, **kwargs, &block)
1414
if block
15-
within_element(*args, **kwargs, &)
15+
within_element(*args, **kwargs, &block)
1616
else
1717
be_within(*args)
1818
end

0 commit comments

Comments
 (0)