Project

General

Profile

Actions

Bug #2063

closed

minitest / mocha test failures on Ruby 1.9

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tests
Target version:
Difficulty:
Triaged:
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 1 (0 open1 closed)

Related to Foreman - Bug #1834: Support for ruby 1.9.xClosed08/23/2012Actions
Actions #1

Updated by Dominic Cleal over 11 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

Actions #2

Updated by Dominic Cleal over 11 years ago

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

Also available in: Atom PDF