mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Fix (eval) in backtrace for node methods
This commit is contained in:
parent
755a724d4b
commit
555d27956b
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ module Capybara
|
|||
end
|
||||
|
||||
NODE_METHODS.each do |method|
|
||||
class_eval <<-RUBY
|
||||
class_eval <<-RUBY, __FILE__, __LINE__+1
|
||||
def #{method}(*args, &block)
|
||||
current_node.send(:#{method}, *args, &block)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue