Sha256: c95f798020cbfce6475ea05f4e05441c0bc5f9347a9377264a671a6037f4622b

Contents?: true

Size: 316 Bytes

Versions: 20

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

20 entries across 20 versions & 2 rubygems

Version Path
scout-essentials-1.6.3 test/scout/misc/test_insist.rb
scout-essentials-1.6.2 test/scout/misc/test_insist.rb
scout-essentials-1.6.1 test/scout/misc/test_insist.rb
scout-essentials-1.6.0 test/scout/misc/test_insist.rb
scout-essentials-1.3.1 test/scout/misc/test_insist.rb
scout-essentials-1.3.0 test/scout/misc/test_insist.rb
scout-essentials-1.2.0 test/scout/misc/test_insist.rb
scout-essentials-1.1.1 test/scout/misc/test_insist.rb
scout-essentials-1.1.0 test/scout/misc/test_insist.rb
scout-essentials-1.0.0 test/scout/misc/test_insist.rb
scout-gear-9.1.0 test/scout/misc/test_insist.rb
scout-gear-9.0.0 test/scout/misc/test_insist.rb
scout-gear-8.1.0 test/scout/misc/test_insist.rb
scout-gear-8.0.0 test/scout/misc/test_insist.rb
scout-gear-7.3.0 test/scout/misc/test_insist.rb
scout-gear-7.2.0 test/scout/misc/test_insist.rb
scout-gear-7.1.0 test/scout/misc/test_insist.rb
scout-gear-6.0.0 test/scout/misc/test_insist.rb
scout-gear-5.2.0 test/scout/misc/test_insist.rb
scout-gear-5.1.1 test/scout/misc/test_insist.rb