1
0
Fork 0
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:
Kouhei Sutou 2012-01-08 22:50:55 +09:00
parent be895c07f4
commit c6f093f542

View file

@ -21,6 +21,7 @@ module Capybara
@name = name
@custom_filters = {}
@match = nil
@failure_message = nil
instance_eval(&block)
end