<?xml version="1.0" encoding="UTF-8"?>
<ticket>
  <assigned-user-id type="integer">85</assigned-user-id>
  <attachments-count type="integer">1</attachments-count>
  <closed type="boolean">true</closed>
  <created-at type="datetime">2009-02-24T17:29:17+00:00</created-at>
  <creator-id type="integer">15346</creator-id>
  <milestone-due-on type="datetime" nil="true"></milestone-due-on>
  <milestone-id type="integer">9903</milestone-id>
  <number type="integer">2060</number>
  <permalink>installation-of-miniunit-causes-test-to-fail</permalink>
  <priority type="integer">1291</priority>
  <project-id type="integer">8994</project-id>
  <raw-data type="binary" nil="true" encoding="base64"></raw-data>
  <state>committed</state>
  <tag>2.3 activesupport testcase</tag>
  <title>Installation Of MiniUnit Causes Test To Fail</title>
  <updated-at type="datetime">2009-05-12T14:57:37+01:00</updated-at>
  <user-id type="integer">15346</user-id>
  <user-name>Ken Collins</user-name>
  <creator-name>Ken Collins</creator-name>
  <assigned-user-name>Jeremy Kemper</assigned-user-name>
  <url>http://rails.lighthouseapp.com/projects/8994/tickets/2060</url>
  <milestone-title>2.x</milestone-title>
  <original-body>The issue appears to be related to Mocha. It loads MiniTest and when MiniTest is defined a total of 27 failures occur for me in actionpack.

A summary of these errors can be seen here: http://pastie.org/398566

The biggest cluster of failing tests I can see are in AssertSelectTest that expect the Assertion constant, which is being assigned by active support's test case to &quot;MiniTest::Assertion&quot; to be raised. However, they are raising &quot;Test::Unit::AssertionFailedError&quot;.


Here is a small code snippet that shows the issue. Below it is a slimmed down version of what ActiveSupport::TestCase is doing when defined?(MiniTest) returns the constant.

@@@ruby
require 'rubygems'
require 'mocha'
require 'test/unit'

class TestFailing &lt; Test::Unit::TestCase
  
  Assertion = MiniTest::Assertion
  
  def test_raise
    assert_raise(Assertion) { flunk }
  end
  
end


# Loaded suite /Users/kencollins/Desktop/foo
# Started
# F 
# Finished in 0.007994 seconds.
# 
#   1) Failure:
# test_raise(TestFailing)
# method test_raise in foo.rb at line 10
# method __send__ in test_case_adapter.rb at line 69
# method run in test_case_adapter.rb at line 69
# &lt;MiniTest::Assertion&gt; exception expected but was
# Class: &lt;Test::Unit::AssertionFailedError&gt;
# Message: &lt;&quot;Flunked.&quot;&gt;
# ---Backtrace---
# /Users/kencollins/Desktop/foo.rb:10:in `test_raise'
# /Users/kencollins/Desktop/foo.rb:10:in `test_raise'
# /opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in `__send__'
# /opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in `run'
# ---------------
@@@ruby

So is this a rails or mocha issue.</original-body>
  <latest-body>The issue appears to be related to Mocha. It loads MiniTest and when MiniTest is defined a total of 27 failures occur for me in actionpack.

A summary of these errors can be seen here: http://pastie.org/398566

The biggest cluster of failing tests I can see are in AssertSelectTest that expect the Assertion constant, which is being assigned by active support's test case to &quot;MiniTest::Assertion&quot; to be raised. However, they are raising &quot;Test::Unit::AssertionFailedError&quot;.


Here is a small code snippet that shows the issue. Below it is a slimmed down version of what ActiveSupport::TestCase is doing when defined?(MiniTest) returns the constant.

@@@ruby
require 'rubygems'
require 'mocha'
require 'test/unit'

class TestFailing &lt; Test::Unit::TestCase
  
  Assertion = MiniTest::Assertion
  
  def test_raise
    assert_raise(Assertion) { flunk }
  end
  
end


# Loaded suite /Users/kencollins/Desktop/foo
# Started
# F 
# Finished in 0.007994 seconds.
# 
#   1) Failure:
# test_raise(TestFailing)
# method test_raise in foo.rb at line 10
# method __send__ in test_case_adapter.rb at line 69
# method run in test_case_adapter.rb at line 69
# &lt;MiniTest::Assertion&gt; exception expected but was
# Class: &lt;Test::Unit::AssertionFailedError&gt;
# Message: &lt;&quot;Flunked.&quot;&gt;
# ---Backtrace---
# /Users/kencollins/Desktop/foo.rb:10:in `test_raise'
# /Users/kencollins/Desktop/foo.rb:10:in `test_raise'
# /opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in `__send__'
# /opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in `run'
# ---------------
@@@ruby

So is this a rails or mocha issue.</latest-body>
  <original-body-html>&lt;div&gt;&lt;p&gt;The issue appears to be related to Mocha. It loads MiniTest and
when MiniTest is defined a total of 27 failures occur for me in
actionpack.&lt;/p&gt;
&lt;p&gt;A summary of these errors can be seen here: &lt;a href=&quot;http://pastie.org/398566&quot;&gt;http://pastie.org/398566&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The biggest cluster of failing tests I can see are in
AssertSelectTest that expect the Assertion constant, which is being
assigned by active support's test case to &quot;MiniTest::Assertion&quot; to
be raised. However, they are raising
&quot;Test::Unit::AssertionFailedError&quot;.&lt;/p&gt;
&lt;p&gt;Here is a small code snippet that shows the issue. Below it is a
slimmed down version of what ActiveSupport::TestCase is doing when
defined?(MiniTest) returns the constant.&lt;/p&gt;
&lt;p&gt;@@@ruby require 'rubygems' require 'mocha' require
'test/unit'&lt;/p&gt;
&lt;p&gt;class TestFailing &amp;lt; Test::Unit::TestCase&lt;/p&gt;
&lt;p&gt;Assertion = MiniTest::Assertion&lt;/p&gt;
&lt;p&gt;def test_raise&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;assert_raise(Assertion) { flunk }
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;end&lt;/p&gt;
&lt;p&gt;end&lt;/p&gt;
&lt;h1&gt;Loaded suite /Users/kencollins/Desktop/foo&lt;/h1&gt;
&lt;h1&gt;Started&lt;/h1&gt;
&lt;p&gt;# F&lt;/p&gt;
&lt;h1&gt;Finished in 0.007994 seconds.&lt;/h1&gt;
&lt;p&gt;#&lt;/p&gt;
&lt;h1&gt;1) Failure:&lt;/h1&gt;
&lt;h1&gt;test_raise(TestFailing)&lt;/h1&gt;
&lt;h1&gt;method test_raise in foo.rb at line 10&lt;/h1&gt;
&lt;h1&gt;method &lt;strong&gt;send&lt;/strong&gt; in test_case_adapter.rb at line
69&lt;/h1&gt;
&lt;h1&gt;method run in test_case_adapter.rb at line 69&lt;/h1&gt;
&lt;h1&gt;&amp;lt;MiniTest::Assertion&amp;gt; exception expected but was&lt;/h1&gt;
&lt;h1&gt;Class: &amp;lt;Test::Unit::AssertionFailedError&amp;gt;&lt;/h1&gt;
&lt;h1&gt;Message: &amp;lt;&quot;Flunked.&quot;&amp;gt;&lt;/h1&gt;
&lt;h1&gt;---Backtrace---&lt;/h1&gt;
&lt;h1&gt;/Users/kencollins/Desktop/foo.rb:10:in
&lt;code&gt;test_raise'&lt;/code&gt;&lt;/h1&gt;
&lt;h1&gt;/Users/kencollins/Desktop/foo.rb:10:in
&lt;code&gt;test_raise'&lt;/code&gt;&lt;/h1&gt;
&lt;h1&gt;
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in
&lt;code&gt;__send__'&lt;/code&gt;&lt;/h1&gt;
&lt;h1&gt;
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in
&lt;code&gt;run'&lt;/code&gt;&lt;/h1&gt;
&lt;h1&gt;---------------&lt;/h1&gt;
&lt;p&gt;@@@ruby&lt;/p&gt;
&lt;p&gt;So is this a rails or mocha issue.&lt;/p&gt;&lt;/div&gt;</original-body-html>
  <versions type="array">
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>The issue appears to be related to Mocha. It loads MiniTest and when MiniTest is defined a total of 27 failures occur for me in actionpack.

A summary of these errors can be seen here: http://pastie.org/398566

The biggest cluster of failing tests I can see are in AssertSelectTest that expect the Assertion constant, which is being assigned by active support's test case to &quot;MiniTest::Assertion&quot; to be raised. However, they are raising &quot;Test::Unit::AssertionFailedError&quot;.


Here is a small code snippet that shows the issue. Below it is a slimmed down version of what ActiveSupport::TestCase is doing when defined?(MiniTest) returns the constant.

@@@ruby
require 'rubygems'
require 'mocha'
require 'test/unit'

class TestFailing &lt; Test::Unit::TestCase
  
  Assertion = MiniTest::Assertion
  
  def test_raise
    assert_raise(Assertion) { flunk }
  end
  
end


# Loaded suite /Users/kencollins/Desktop/foo
# Started
# F 
# Finished in 0.007994 seconds.
# 
#   1) Failure:
# test_raise(TestFailing)
# method test_raise in foo.rb at line 10
# method __send__ in test_case_adapter.rb at line 69
# method run in test_case_adapter.rb at line 69
# &lt;MiniTest::Assertion&gt; exception expected but was
# Class: &lt;Test::Unit::AssertionFailedError&gt;
# Message: &lt;&quot;Flunked.&quot;&gt;
# ---Backtrace---
# /Users/kencollins/Desktop/foo.rb:10:in `test_raise'
# /Users/kencollins/Desktop/foo.rb:10:in `test_raise'
# /opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in `__send__'
# /opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in `run'
# ---------------
@@@ruby

So is this a rails or mocha issue.</body>
      <body-html>&lt;div&gt;&lt;p&gt;The issue appears to be related to Mocha. It loads MiniTest and
when MiniTest is defined a total of 27 failures occur for me in
actionpack.&lt;/p&gt;
&lt;p&gt;A summary of these errors can be seen here: &lt;a href=&quot;http://pastie.org/398566&quot;&gt;http://pastie.org/398566&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The biggest cluster of failing tests I can see are in
AssertSelectTest that expect the Assertion constant, which is being
assigned by active support's test case to &quot;MiniTest::Assertion&quot; to
be raised. However, they are raising
&quot;Test::Unit::AssertionFailedError&quot;.&lt;/p&gt;
&lt;p&gt;Here is a small code snippet that shows the issue. Below it is a
slimmed down version of what ActiveSupport::TestCase is doing when
defined?(MiniTest) returns the constant.&lt;/p&gt;
&lt;p&gt;@@@ruby require 'rubygems' require 'mocha' require
'test/unit'&lt;/p&gt;
&lt;p&gt;class TestFailing &amp;lt; Test::Unit::TestCase&lt;/p&gt;
&lt;p&gt;Assertion = MiniTest::Assertion&lt;/p&gt;
&lt;p&gt;def test_raise&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;assert_raise(Assertion) { flunk }
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;end&lt;/p&gt;
&lt;p&gt;end&lt;/p&gt;
&lt;h1&gt;Loaded suite /Users/kencollins/Desktop/foo&lt;/h1&gt;
&lt;h1&gt;Started&lt;/h1&gt;
&lt;p&gt;# F&lt;/p&gt;
&lt;h1&gt;Finished in 0.007994 seconds.&lt;/h1&gt;
&lt;p&gt;#&lt;/p&gt;
&lt;h1&gt;1) Failure:&lt;/h1&gt;
&lt;h1&gt;test_raise(TestFailing)&lt;/h1&gt;
&lt;h1&gt;method test_raise in foo.rb at line 10&lt;/h1&gt;
&lt;h1&gt;method &lt;strong&gt;send&lt;/strong&gt; in test_case_adapter.rb at line
69&lt;/h1&gt;
&lt;h1&gt;method run in test_case_adapter.rb at line 69&lt;/h1&gt;
&lt;h1&gt;&amp;lt;MiniTest::Assertion&amp;gt; exception expected but was&lt;/h1&gt;
&lt;h1&gt;Class: &amp;lt;Test::Unit::AssertionFailedError&amp;gt;&lt;/h1&gt;
&lt;h1&gt;Message: &amp;lt;&quot;Flunked.&quot;&amp;gt;&lt;/h1&gt;
&lt;h1&gt;---Backtrace---&lt;/h1&gt;
&lt;h1&gt;/Users/kencollins/Desktop/foo.rb:10:in
&lt;code&gt;test_raise'&lt;/code&gt;&lt;/h1&gt;
&lt;h1&gt;/Users/kencollins/Desktop/foo.rb:10:in
&lt;code&gt;test_raise'&lt;/code&gt;&lt;/h1&gt;
&lt;h1&gt;
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in
&lt;code&gt;__send__'&lt;/code&gt;&lt;/h1&gt;
&lt;h1&gt;
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in
&lt;code&gt;run'&lt;/code&gt;&lt;/h1&gt;
&lt;h1&gt;---------------&lt;/h1&gt;
&lt;p&gt;@@@ruby&lt;/p&gt;
&lt;p&gt;So is this a rails or mocha issue.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-24T17:29:17+00:00</created-at>
      <creator-id type="integer">15346</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">2060</number>
      <permalink>installation-of-miniunit-causes-test-to-fail</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.3 activesupport testcase</tag>
      <title>Installation Of MiniUnit Causes Test To Fail</title>
      <updated-at type="datetime">2009-02-24T17:29:21+00:00</updated-at>
      <user-id type="integer">15346</user-id>
      <user-name>Ken Collins</user-name>
      <creator-name>Ken Collins</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2060</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Sorry for the bad formatting. Let me try that again. Note, you have to have the MiniUnit gem installed for this and the rails test cases in the link above to fail.

@@@ ruby

require 'rubygems' 
# gem 'mocha', '&gt;= 0.9.3'
require 'mocha'
require 'test/unit'

class TestFailing &lt; Test::Unit::TestCase
  
  Assertion = MiniTest::Assertion
  
  def test_raise
    assert_raise(Assertion) { flunk }
  end

end


# Loaded suite /Users/kencollins/Desktop/test_failing
# Started
# F 
# Finished in 0.007939 seconds.
# 
#   1) Failure:
# test_raise(TestFailing)
# method test_raise in test_failing.rb at line 11
# method __send__ in test_case_adapter.rb at line 69
# method run in test_case_adapter.rb at line 69
# &lt;MiniTest::Assertion&gt; exception expected but was
# Class: &lt;Test::Unit::AssertionFailedError&gt;
# Message: &lt;&quot;Flunked.&quot;&gt;
# ---Backtrace---
# /Users/kencollins/Desktop/test_failing.rb:11:in `test_raise'
# /Users/kencollins/Desktop/test_failing.rb:11:in `test_raise'
# /opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in `__send__'
# /opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in `run'
# ---------------
# 
# 1 tests, 1 assertions, 1 failures, 0 errors
@@@ ruby</body>
      <body-html>&lt;div&gt;&lt;p&gt;Sorry for the bad formatting. Let me try that again. Note, you
have to have the MiniUnit gem installed for this and the rails test
cases in the link above to fail.&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;

require 'rubygems' 
# gem 'mocha', '&amp;gt;= 0.9.3'
require 'mocha'
require 'test/unit'

class TestFailing &amp;lt; Test::Unit::TestCase
  
  Assertion = MiniTest::Assertion
  
  def test_raise
    assert_raise(Assertion) { flunk }
  end

end


# Loaded suite /Users/kencollins/Desktop/test_failing
# Started
# F 
# Finished in 0.007939 seconds.
# 
#   1) Failure:
# test_raise(TestFailing)
# method test_raise in test_failing.rb at line 11
# method __send__ in test_case_adapter.rb at line 69
# method run in test_case_adapter.rb at line 69
# &amp;lt;MiniTest::Assertion&amp;gt; exception expected but was
# Class: &amp;lt;Test::Unit::AssertionFailedError&amp;gt;
# Message: &amp;lt;&amp;quot;Flunked.&amp;quot;&amp;gt;
# ---Backtrace---
# /Users/kencollins/Desktop/test_failing.rb:11:in `test_raise'
# /Users/kencollins/Desktop/test_failing.rb:11:in `test_raise'
# /opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in `__send__'
# /opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in `run'
# ---------------
# 
# 1 tests, 1 assertions, 1 failures, 0 errors
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-24T18:17:18+00:00</created-at>
      <creator-id type="integer">15346</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">2060</number>
      <permalink>installation-of-miniunit-causes-test-to-fail</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.3 activesupport testcase</tag>
      <title>Installation Of MiniUnit Causes Test To Fail</title>
      <updated-at type="datetime">2009-02-24T18:17:20+00:00</updated-at>
      <user-id type="integer">15346</user-id>
      <user-name>Ken Collins</user-name>
      <creator-name>Ken Collins</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2060</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Hopefully this commit [1] resolves the Mocha aspects of this problem. Let me know if not.

Thanks, James.

[1] http://github.com/floehopper/mocha/commit/4e41149f1624f4ae48a54e3b68ff4ca8b6b865db</body>
      <body-html>&lt;div&gt;&lt;p&gt;Hopefully this commit &lt;a href=&quot;/projects/8994/changesets/1&quot; title=&quot;Changeset #1&quot;&gt;[1]&lt;/a&gt; resolves the Mocha aspects of this
problem. Let me know if not.&lt;/p&gt;
&lt;p&gt;Thanks, James.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/projects/8994/changesets/1&quot; title=&quot;Changeset #1&quot;&gt;[1]&lt;/a&gt; &lt;a href=&quot;http://github.com/floehopper/mocha/commit/4e41149f1624f4ae48a54e3b68ff4ca8b6b865db&quot;&gt;
http://github.com/floehopper/moc...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-04T19:17:33+00:00</created-at>
      <creator-id type="integer">15346</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">2060</number>
      <permalink>installation-of-miniunit-causes-test-to-fail</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.3 activesupport testcase</tag>
      <title>Installation Of MiniUnit Causes Test To Fail</title>
      <updated-at type="datetime">2009-03-04T19:17:37+00:00</updated-at>
      <user-id type="integer">27133</user-id>
      <user-name>James Mead</user-name>
      <creator-name>Ken Collins</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2060</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Well it does fix it but this commit in Mocha...

http://github.com/floehopper/mocha/commit/03f86943eb26a2c3cac01a9775f29658bd05aa6b

... breaks active support since it calls on Mocha::TestCaseAdapter::AssertionCounter. I'll upload a patch for active support to work with the upcoming Mocha code org.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Well it does fix it but this commit in Mocha...&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://github.com/floehopper/mocha/commit/03f86943eb26a2c3cac01a9775f29658bd05aa6b&quot;&gt;
http://github.com/floehopper/moc...&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;... breaks active support since it calls on
Mocha::TestCaseAdapter::AssertionCounter. I'll upload a patch for
active support to work with the upcoming Mocha code org.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-10T20:19:36+00:00</created-at>
      <creator-id type="integer">15346</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">2060</number>
      <permalink>installation-of-miniunit-causes-test-to-fail</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.3 activesupport testcase</tag>
      <title>Installation Of MiniUnit Causes Test To Fail</title>
      <updated-at type="datetime">2009-03-10T20:32:20+00:00</updated-at>
      <user-id type="integer">15346</user-id>
      <user-name>Ken Collins</user-name>
      <creator-name>Ken Collins</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2060</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body></body>
      <body-html></body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-10T20:38:23+00:00</created-at>
      <creator-id type="integer">15346</creator-id>
      <diffable-attributes type="yaml">--- 
:assigned_user: 
</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">2060</number>
      <permalink>installation-of-miniunit-causes-test-to-fail</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.3 activesupport testcase</tag>
      <title>Installation Of MiniUnit Causes Test To Fail</title>
      <updated-at type="datetime">2009-03-10T20:53:57+00:00</updated-at>
      <user-id type="integer">1366</user-id>
      <user-name>Pratik</user-name>
      <creator-name>Ken Collins</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2060</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>(from [4b4e7caffa361a1a3317586d8f498b4ba353adba]) The latest trunk of Mocha &gt; 0.9.5 which addresses issue with MiniUnit compatibility uses namespaced integration classes.

[#2060 state:committed]

Signed-off-by: Jeremy Kemper &lt;jeremy@bitsweat.net&gt;
http://github.com/rails/rails/commit/4b4e7caffa361a1a3317586d8f498b4ba353adba</body>
      <body-html>&lt;div&gt;&lt;p&gt;(from [4b4e7caffa361a1a3317586d8f498b4ba353adba]) The latest
trunk of Mocha &amp;gt; 0.9.5 which addresses issue with MiniUnit
compatibility uses namespaced integration classes.&lt;/p&gt;
&lt;p&gt;[&lt;a href=&quot;/projects/8994/tickets/2060&quot; title=&quot;Ticket #2060&quot;&gt;#2060&lt;/a&gt; state:committed]&lt;/p&gt;
&lt;p&gt;Signed-off-by: Jeremy Kemper &lt;a href=&quot;mailto:jeremy@bitsweat.net&quot;&gt;jeremy@bitsweat.net&lt;/a&gt; &lt;a href=&quot;http://github.com/rails/rails/commit/4b4e7caffa361a1a3317586d8f498b4ba353adba&quot;&gt;
http://github.com/rails/rails/co...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-03-10T21:24:35+00:00</created-at>
      <creator-id type="integer">15346</creator-id>
      <diffable-attributes type="yaml">--- 
:state: new
</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">2060</number>
      <permalink>installation-of-miniunit-causes-test-to-fail</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>committed</state>
      <tag>2.3 activesupport testcase</tag>
      <title>Installation Of MiniUnit Causes Test To Fail</title>
      <updated-at type="datetime">2009-03-10T21:44:53+00:00</updated-at>
      <user-id type="integer">17393</user-id>
      <user-name>Repository</user-name>
      <creator-name>Ken Collins</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2060</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>Do you need some particular version of mocha to be able to run the tests now? I'm experiencing something very similar (http://pastie.org/417598) on the latest edge. Using mocha 0.9.5, via &quot;gem1.9 install mocha&quot;.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Do you need some particular version of mocha to be able to run
the tests now? I'm experiencing something very similar (&lt;a href=&quot;http://pastie.org/417598)&quot;&gt;http://pastie.org/417598)&lt;/a&gt; on the
latest edge. Using mocha 0.9.5, via &quot;gem1.9 install mocha&quot;.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-03-16T13:14:15+00:00</created-at>
      <creator-id type="integer">15346</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">2060</number>
      <permalink>installation-of-miniunit-causes-test-to-fail</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>committed</state>
      <tag>2.3 activesupport testcase</tag>
      <title>Installation Of MiniUnit Causes Test To Fail</title>
      <updated-at type="datetime">2009-03-16T13:14:18+00:00</updated-at>
      <user-id type="integer">1998</user-id>
      <user-name>augustl</user-name>
      <creator-name>Ken Collins</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2060</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>This can be marked invalid. It is moot under the release of 1.9.1 and rails 2.3.2.</body>
      <body-html>&lt;div&gt;&lt;p&gt;This can be marked invalid. It is moot under the release of
1.9.1 and rails 2.3.2.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-05-12T14:57:34+01:00</created-at>
      <creator-id type="integer">15346</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">2060</number>
      <permalink>installation-of-miniunit-causes-test-to-fail</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>committed</state>
      <tag>2.3 activesupport testcase</tag>
      <title>Installation Of MiniUnit Causes Test To Fail</title>
      <updated-at type="datetime">2009-05-12T14:57:37+01:00</updated-at>
      <user-id type="integer">15346</user-id>
      <user-name>Ken Collins</user-name>
      <creator-name>Ken Collins</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2060</url>
      <milestone-title>2.x</milestone-title>
    </version>
  </versions>
  <attachments type="array">
    <attachment type="Attachment">
      <code>a08ff80fcafeb3e07ba1ce94440a519d15d39013</code>
      <content-type>text/plain</content-type>
      <created-at type="datetime">2009-03-10T20:27:28+00:00</created-at>
      <filename>mocha_compatibility.diff</filename>
      <height type="integer" nil="true"></height>
      <id type="integer">98184</id>
      <size type="integer">1459</size>
      <uploader-id type="integer">15346</uploader-id>
      <width type="integer" nil="true"></width>
      <url>http://rails.lighthouseapp.com/attachments/98184/mocha_compatibility.diff</url>
    </attachment>
  </attachments>
</ticket>
