Sha256: 3b64303ef87b5569681db3acdb1a0c861dc7c377742462126b225be1bd326024
Contents?: true
Size: 501 Bytes
Versions: 1
Compression:
Stored size: 501 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/mega/mock.rb # # Extracted Fri Oct 28 14:20:18 EDT 2005 # Unit Tools Reap Test Extractor # require 'mega/mock.rb' class MyMock < Mock mock :m, 10 echo :e spin :s, [1,2,3] keys :i, { [:foo] => 'Hello', [:boo] => 'Frog' } def a(k) k+1 end end my = MyMock.new p my.m p my.e('hi') p my.s p my.s p my.s p my.i(:foo) p my.i(:boo) p my.a(1)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-0.9.0 | test/lib/mega/test_mock.rb |