Sha256: ed5c151d9163a9e424c18cf05a32c89f7b28e334d2fdaabf4ae6cc063fbe01ed
Contents?: true
Size: 234 Bytes
Versions: 5
Compression:
Stored size: 234 Bytes
Contents
module WaitUntil def wait_until(attempts=10) (0..attempts).each do |a| break if yield rescue nil sleep a end end end RSpec.configure do |config| config.include WaitUntil config.extend WaitUntil end
Version data entries
5 entries across 5 versions & 1 rubygems