aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2013-12-26 14:57:27 -0800
committerGuillermo Iguaran <guilleiguaran@gmail.com>2013-12-26 14:57:27 -0800
commit7d1d11e620c575adc7a004acd5e8063c97318e91 (patch)
tree861c30cb711733017a6e6636b676498267b0a730
parent037665cbe1f7705afaeb924e34eeb0d93f60b290 (diff)
parentfd1c515d4daca0bec61263339570313edb2b8e99 (diff)
downloadrails-7d1d11e620c575adc7a004acd5e8063c97318e91.tar.gz
rails-7d1d11e620c575adc7a004acd5e8063c97318e91.tar.bz2
rails-7d1d11e620c575adc7a004acd5e8063c97318e91.zip
Merge pull request #13502 from arunagw/bug-report-template-warning
Minitest::Unit::TestCase is Minitest::Test [ci skip]
-rw-r--r--guides/bug_report_templates/action_controller_gem.rb2
-rw-r--r--guides/bug_report_templates/active_record_gem.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/guides/bug_report_templates/action_controller_gem.rb b/guides/bug_report_templates/action_controller_gem.rb
index e7a1e9bd87..610eccc039 100644
--- a/guides/bug_report_templates/action_controller_gem.rb
+++ b/guides/bug_report_templates/action_controller_gem.rb
@@ -29,7 +29,7 @@ end
require 'minitest/autorun'
require 'rack/test'
-class BugTest < Minitest::Unit::TestCase
+class BugTest < Minitest::Test
include Rack::Test::Methods
def test_returns_success
diff --git a/guides/bug_report_templates/active_record_gem.rb b/guides/bug_report_templates/active_record_gem.rb
index 37cd700fbf..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!