lib/dfect/mini.rb in dfect-1.1.0 vs lib/dfect/mini.rb in dfect-2.0.0

- old
+ new

@@ -1,15 +1,11 @@ # MiniTest emulation layer. -#-- -# Copyright protects this work. -# See LICENSE file for details. -#++ require 'dfect' require 'dfect/unit' require 'dfect/spec' -module Kernel +module Dfect instance_methods(false).each do |meth| if meth =~ /^assert_not/ alias_method 'refute' + $', meth end end