mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
suppress a warning:
lib/capybara/selector.rb:47: warning: instance variable @failure_message not initialized
This commit is contained in:
parent
be895c07f4
commit
c6f093f542
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ module Capybara
|
|||
@name = name
|
||||
@custom_filters = {}
|
||||
@match = nil
|
||||
@failure_message = nil
|
||||
instance_eval(&block)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue