14 Feb
2011
14 Feb
'11
11:46 p.m.
here is the workaround: require "rubygems" require "isolate" Isolate.now! :system => false do gem "minitest" gem "mocha" end class Module def remove_method x # do nothing end end if defined?(RUBY_ENGINE) and RUBY_ENGINE == "macruby" gem "minitest" require "minitest/autorun" require "mocha" class QuickTest < MiniTest::Unit::TestCase def test_quick obj = mock("obj") end end