test/test_helper.rb in efax-1.3.2 vs test/test_helper.rb in efax-1.3.3
- old
+ new
@@ -1,7 +1,8 @@
-require 'test/unit'
require 'rubygems'
+gem 'test-unit', '~> 2'
+require 'test/unit'
require 'mocha'
class Class
def publicize_instance_methods
saved_private_instance_methods = self.private_instance_methods
@@ -14,6 +15,6 @@
saved_private_class_methods = self.private_methods(false)
self.class_eval { public_class_method(*saved_private_class_methods) }
yield
self.class_eval { private_class_method(*saved_private_class_methods) }
end
-end
\ No newline at end of file
+end