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:
parent
c989a18a74
commit
5c7762b171
1 changed files with 1 additions and 1 deletions
|
@ -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!
|
||||||
|
|
Loading…
Reference in a new issue