# File lib/selenium/rspec/rspec_extensions.rb, line 54 def actual_failure? case execution_error when nil false when Spec::Example::ExamplePendingError, Spec::Example::PendingExampleFixedError, Spec::Example::NoDescriptionError false else true end end
# File lib/selenium/rspec/rspec_extensions.rb, line 72 def pending_for_browsers(*browser_regexps, &block) actual_browser = selenium_driver.browser_string match_browser_regexps = browser_regexps.inject(false) do |match, regexp| match ||= actual_browser =~ Regexp.new(regexp.source, Regexp::IGNORECASE) end if match_browser_regexps pending "#{actual_browser.gsub(/\*/, '').capitalize} does not support this feature yet" else yield end end
# File lib/selenium/rspec/rspec_extensions.rb, line 67 def reporting_uid # backtrace is not reliable anymore using the implementation proc Digest::MD5.hexdigest @_implementation.inspect end