Sha256: 63cb10730a24a79a8b28dfe366b9697a870f4c1e672e465c67af904a777907c1
Contents?: true
Size: 434 Bytes
Versions: 6
Compression:
Stored size: 434 Bytes
Contents
require 'pork/auto' require 'muack' Pork::Executor.__send__(: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 }
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
muack-1.4.0 | lib/muack/test.rb |
muack-1.3.2 | lib/muack/test.rb |
muack-1.3.1 | lib/muack/test.rb |
muack-1.3.0 | lib/muack/test.rb |
muack-1.2.0 | lib/muack/test.rb |
muack-1.1.2 | lib/muack/test.rb |