Sha256: 03d54839a58a84d13e84a8ff60483bb1efd9b09fa102ab4ee5b574a859afb3d9
Contents?: true
Size: 497 Bytes
Versions: 2
Compression:
Stored size: 497 Bytes
Contents
require "rubygems" require "test/unit" require "shoulda" require "mocha" require "matchy" require "fakeweb" $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib")) $LOAD_PATH.unshift(File.dirname(__FILE__)) require "textmagic" class Test::Unit::TestCase end def random_string(legth = 5 + rand(10)) Array.new(legth) { rand(36).to_s(36) }.join end def random_phone rand(10 ** 12).to_s end def random_hash hash = {} 3.times { hash[random_string] = random_string } hash end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
textmagic-0.5.0 | test/test_helper.rb |
textmagic-0.4.0 | test/test_helper.rb |