Project

General

Profile

Bug #2063

minitest / mocha test failures on Ruby 1.9

Added by Dominic Cleal over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tests
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Reported in https://github.com/theforeman/foreman/pull/283

$ rake
/home/olevy/.gem/ruby/1.9.1/gems/mocha-0.12.7/lib/mocha/integration/mini_test.rb:56:in `<class:TestCase>': No Mocha monkey-patch for MiniTest version (RuntimeError) from...

Using Mocha 0.12.7 and minitest 4.x. Pinning minitest to 3.5.0 worked around the problem.


Related issues

Related to Foreman - Bug #1834: Support for ruby 1.9.xClosed2012-08-23

Associated revisions

Revision 56863445 (diff)
Added by Dominic Cleal over 9 years ago

fixes #2063 - pin minitest to 3.5+ and mocha 0.12.x

Mocha 0.13.x and minitest 4.x will require Rails 3.2.

History

#1 Updated by Dominic Cleal over 9 years ago

Trying to use the latest versions (mocha 0.13.x, minitest 4.x) fails due to an incompatibility with ActiveSupport 3.0, we'll need to wait for Rails 3.2 to update these libs.

https://github.com/theforeman/foreman/pull/328

#2 Updated by Dominic Cleal over 9 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF