aboutsummaryrefslogtreecommitdiffstats
path: root/guides/bug_report_templates
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-08-21 13:02:32 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-08-21 13:02:32 -0700
commit9208338b0f982e9776f29caeb46795c4cd9207a1 (patch)
tree6720164f7c25d9c8c98e635c2a67c376276725a8 /guides/bug_report_templates
parent7a3138868283ad24f3a7267d077bec9b9af24b56 (diff)
parent0643daaf4c5a0111842d3421a2b4fecac51916c5 (diff)
downloadrails-9208338b0f982e9776f29caeb46795c4cd9207a1.tar.gz
rails-9208338b0f982e9776f29caeb46795c4cd9207a1.tar.bz2
rails-9208338b0f982e9776f29caeb46795c4cd9207a1.zip
Merge pull request #11966 from jetthoughts/update_bug_report_templates
Use `Minitest::Test` instead of old `MiniTest::Unit::TestCase` for bug reports template
Diffstat (limited to 'guides/bug_report_templates')
-rw-r--r--guides/bug_report_templates/active_record_gem.rb2
-rw-r--r--guides/bug_report_templates/active_record_master.rb2
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!