lib/muack/test.rb in muack-1.1.1 vs lib/muack/test.rb in muack-1.1.2
- old
+ new
@@ -1,11 +1,10 @@
-require 'bacon'
+require 'pork/auto'
require 'muack'
-Bacon.summary_on_exit
-Bacon::Context.__send__(:include, Muack::API)
+Pork::Executor.__send__(:include, Muack::API)
Obj = Object.new
Str = 'Moo'
def Obj.inspect
'obj'
@@ -20,14 +19,8 @@
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
+ }.should.empty?
end
}
-
-module Kernel
- def eq? rhs
- self == rhs
- end
-end