[MacRuby-devel] Issue with running unit tests when requiring rubygems

Eloy Duran eloy.de.enige at gmail.com
Fri Feb 11 06:37:57 PST 2011


This *might* be because the minitest version in our stdlib is
outdated. You can try to install the minitest gem and require that
instead and see if that fixes it.

On Fri, Feb 11, 2011 at 3:24 PM, Gabriel Ayuso <gabriel at gabrielayuso.com> wrote:
> I wanted to try using mocha to write unit tests with mocks. After requiring
> "rubygems" a NoMethodError exception was thrown when attempting to run the
> tests. The method which wasn't found was 'run'.
> If I remove the call to require "rubygems" my test fails because I can't use
> mocha but the NoMethodError exception which was thrown is not thrown
> anymore.
> Am I missing something?
> Thanks,
> Gabriel Ayuso
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>


More information about the MacRuby-devel mailing list