From 0643daaf4c5a0111842d3421a2b4fecac51916c5 Mon Sep 17 00:00:00 2001 From: Paul Nikitochkin Date: Wed, 21 Aug 2013 22:49:12 +0300 Subject: [PATCH] Updated bug report templates * use `Minitest::Test` instead of deprectaed `MiniTest::Unit::TestCase` [ci skip] --- guides/bug_report_templates/active_record_gem.rb | 2 +- guides/bug_report_templates/active_record_master.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/bug_report_templates/active_record_gem.rb b/guides/bug_report_templates/active_record_gem.rb index a8868a1877..63fbe27aed 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::Unit::TestCase +class BugTest < Minitest::Test def test_association_stuff post = Post.create! post.comments << Comment.create! diff --git a/guides/bug_report_templates/active_record_master.rb b/guides/bug_report_templates/active_record_master.rb index 68069cdd8d..29dedd88d0 100644 --- a/guides/bug_report_templates/active_record_master.rb +++ b/guides/bug_report_templates/active_record_master.rb @@ -36,7 +36,7 @@ class Comment < ActiveRecord::Base belongs_to :post end -class BugTest < MiniTest::Unit::TestCase +class BugTest < Minitest::Test def test_association_stuff post = Post.create! post.comments << Comment.create!