Sha256: 3ac51e974118a4460e4341bf601ec5c629e5d9899e330fac41e36b3a53cbeb2a
Contents?: true
Size: 594 Bytes
Versions: 1
Compression:
Stored size: 594 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/binding/caller.rb # # Extracted Thu Aug 31 11:31:53 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/binding/caller.rb' require 'test/unit' class TCBinding < Test::Unit::TestCase def setup a = 1 b = 2 x = "hello" # the line number must be updated if it moves @bind = binding; @this_line_no = 25 end def test_caller # how to test? assert_nothing_raised{ @bind.caller } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.7.38 | test/lib/facets/core/binding/test_caller.rb |