Sha256: 3b3b87f8f1503d896ea0658d6c4f2fcbf879b161b66a975bcde2030b1c839c86
Contents?: true
Size: 407 Bytes
Versions: 4
Compression:
Stored size: 407 Bytes
Contents
here = File.expand_path(File.dirname(__FILE__)) $: << here require "#{here}/../config/environment" require 'test/unit' require 'fileutils' require 'logger' require 'find' require 'yaml' require 'set' require 'ostruct' class Test::Unit::TestCase include FileUtils def poll(time_limit) (time_limit * 10).to_i.times do return true if yield sleep 0.1 end return false end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
minilab-1.0.0-mswin32 | vendor/hardmock/test/test_helper.rb |
hardmock-1.1.0 | test/test_helper.rb |
hardmock-1.2.0 | test/test_helper.rb |
hardmock-1.2.3 | test/test_helper.rb |