Sha256: c37a588c87ca31bfc4426a008c181344618ac789342d98f282a1b1faf6cc0018

Contents?: true

Size: 461 Bytes

Versions: 4

Compression:

Stored size: 461 Bytes

Contents

module Spreewald
  class CapybaraWrapper
    def self.default_max_wait_time
      if Capybara.respond_to?(:default_max_wait_time)
        Capybara.default_max_wait_time
      else
        Capybara.default_wait_time
      end
    end

    def self.default_max_wait_time=(value)
      if Capybara.respond_to?(:default_max_wait_time=)
        Capybara.default_max_wait_time = value
      else
        Capybara.default_wait_time = value
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spreewald-4.6.3 lib/spreewald_support/capybara_wrapper.rb
spreewald-4.6.2 lib/spreewald_support/capybara_wrapper.rb
spreewald-4.6.1 lib/spreewald_support/capybara_wrapper.rb
spreewald-4.6.0 lib/spreewald_support/capybara_wrapper.rb