Suppress a warning: instance variable @label not initialized
lib/capybara/selector.rb:48: warning: instance variable @label not initialized
This commit is contained in:
parent
180f3dcb16
commit
599856f36b
|
@ -21,6 +21,7 @@ module Capybara
|
|||
@name = name
|
||||
@custom_filters = {}
|
||||
@match = nil
|
||||
@label = nil
|
||||
@failure_message = nil
|
||||
instance_eval(&block)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue