1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

View file

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