From 5c7762b1716e63b797e2fc27f84ab1926b12cce1 Mon Sep 17 00:00:00 2001 From: Robin Dupret Date: Sat, 7 Sep 2013 12:08:15 +0200 Subject: 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] --- guides/bug_report_templates/active_record_gem.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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! -- cgit v1.2.3