Exception: Capybara::Poltergeist::PhantomJSFailed

Inherits:
Error
  • Object
show all
Defined in:
lib/capybara/poltergeist/errors.rb

Class Method Summary collapse

Class Method Details

.===(other) ⇒ Object



166
167
168
169
170
171
172
173
174
175
# File 'lib/capybara/poltergeist/errors.rb', line 166

def self.===(other)
  if Cliver::Dependency::NotMet === other
    warn "#{name} exception has been deprecated in favor of using the " +
         "cliver gem for command-line dependency detection. Please " +
         "handle Cliver::Dependency::NotMet instead."
    true
  else
    super
  end
end