Sha256: 9a35d7aac17116ad7f2cf4c63e1b87ee57d5967591db665b9130759b1e1039a1
Contents?: true
Size: 479 Bytes
Versions: 3
Compression:
Stored size: 479 Bytes
Contents
require 'bacon' require 'muack' Bacon.summary_on_exit include Muack::API Obj = Object.new Str = 'Moo' def Obj.inspect 'obj' end def Obj.private 'pri' end def Obj.aloha a=0, b=1 [a, b] end Obj.singleton_class.__send__(:private, :private) Muack::EnsureReset = lambda{ [Obj, Str].each do |o| o.methods.select{ |m| m.to_s.start_with?('__muack_mock') || m.to_s.start_with?('say') }.should.empty end } module Kernel def eq? rhs self == rhs end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
muack-1.0.3 | lib/muack/test.rb |
muack-1.0.2 | lib/muack/test.rb |
muack-1.0.1 | lib/muack/test.rb |