1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

⚠️ `&' interpreted as argument prefix

This commit is contained in:
Akira Matsuda 2016-11-03 22:18:00 +09:00
parent 4ea53dfa53
commit aab67c94d6

View file

@ -180,11 +180,11 @@ module Capybara
f_set.filters.each do |n, filter|
custom_filters[n] = filter if filters_to_use.nil? || filters_to_use.include?(n)
end
f_set.descriptions.each { |desc| @filter_set.describe &desc }
f_set.descriptions.each { |desc| @filter_set.describe(&desc) }
end
def describe &block
@filter_set.describe &block
@filter_set.describe(&block)
end
##