Use MiniTest::Unit::TestCase instead of Minitest::Test

Since Rails 4.0.x is depending on Minitest 4.x, the constant won't be
available so the gist won't run.

[ci skip]
This commit is contained in:
Robin Dupret 2013-09-07 12:08:15 +02:00
parent c989a18a74
commit 5c7762b171
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class Comment < ActiveRecord::Base
belongs_to :post
end
class BugTest < Minitest::Test
class BugTest < MiniTest::Unit::TestCase
def test_association_stuff
post = Post.create!
post.comments << Comment.create!