aboutsummaryrefslogtreecommitdiffstats
path: root/guides/bug_report_templates/active_record_gem.rb
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2013-09-07 12:08:15 +0200
committerRobin Dupret <robin.dupret@gmail.com>2013-09-07 12:08:15 +0200
commit5c7762b1716e63b797e2fc27f84ab1926b12cce1 (patch)
tree762f7672b7733e623e4e1f416f3dd5f7f9e7e17a /guides/bug_report_templates/active_record_gem.rb
parentc989a18a74d970be86c537766f14916bd06fe176 (diff)
downloadrails-5c7762b1716e63b797e2fc27f84ab1926b12cce1.tar.gz
rails-5c7762b1716e63b797e2fc27f84ab1926b12cce1.tar.bz2
rails-5c7762b1716e63b797e2fc27f84ab1926b12cce1.zip
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]
Diffstat (limited to 'guides/bug_report_templates/active_record_gem.rb')
-rw-r--r--guides/bug_report_templates/active_record_gem.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/bug_report_templates/active_record_gem.rb b/guides/bug_report_templates/active_record_gem.rb
index 63fbe27aed..a8868a1877 100644
--- a/guides/bug_report_templates/active_record_gem.rb
+++ b/guides/bug_report_templates/active_record_gem.rb
@@ -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!