Sha256: 9912e44cade2b3913fd3a1e8192dab89a7cfd0516094c144f8a10559290fc3f6
Contents?: true
Size: 443 Bytes
Versions: 1
Compression:
Stored size: 443 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 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
muack-1.0.0 | lib/muack/test.rb |