seattlerb/minitest — Issue #69: gem minitest + Test::Unit::TestCase: uninitialized constant MiniTest::MINI_DIR
Author: wojtekmach
Created: 2011-11-13 16:04:19+00:00
State: open

Hi,
I found that this code:

```ruby
require 'test_helper'

class PostTest < ActiveSupport::TestCase
test "respond_to" do
assert_respond_to 1, :to_s
end
end

```
produces following exception:

```
test_respond_to(PostTest):
NameError: uninitialized constant MiniTest::MINI_DIR
/Users/wojtek/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/test/unit/assertions.rb:253:in `assert_respond_to'
```

When I remove gem activiation for minitest, it works fine. Note I was using Rails here, but same thing happens when my test case subclasses Test::Unit::TestCase directly (ActiveSupport::TestCase does it).