Sha256: c95f798020cbfce6475ea05f4e05441c0bc5f9347a9377264a671a6037f4622b
Contents?: true
Size: 316 Bytes
Versions: 25
Compression:
Stored size: 316 Bytes
Contents
require File.expand_path(__FILE__).sub(%r(/test/.*), '/test/test_helper.rb') require File.expand_path(__FILE__).sub(%r(.*/test/), '').sub(/test_(.*)\.rb/,'\1') class TestMiscInsist < Test::Unit::TestCase def test_insist i = 0 Misc.insist do i += 1 raise "Not yet" if i < 3 end end end
Version data entries
25 entries across 25 versions & 2 rubygems