aboutsummaryrefslogtreecommitdiffstats
path: root/guides/bug_report_templates
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-01-30 16:52:09 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-01-30 16:52:09 +0900
commit92cca41bbe6d1ae4e1c1e63eb08871a57fa5e36e (patch)
tree41e4772da3fe88b34acb04cf268658a979c1e3fa /guides/bug_report_templates
parent6162c49e40582bf058a6bb82ccc0cfb8f92332b6 (diff)
downloadrails-92cca41bbe6d1ae4e1c1e63eb08871a57fa5e36e.tar.gz
rails-92cca41bbe6d1ae4e1c1e63eb08871a57fa5e36e.tar.bz2
rails-92cca41bbe6d1ae4e1c1e63eb08871a57fa5e36e.zip
remove backward compatibility code for Minitest 4
The master branch is required Ruby 2.2.2+, for the Ruby 2.2 is bundled Minitest 5.4.3, I think backward compatibility code for Minitest 4 is unnecessary.
Diffstat (limited to 'guides/bug_report_templates')
-rw-r--r--guides/bug_report_templates/generic_master.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/guides/bug_report_templates/generic_master.rb b/guides/bug_report_templates/generic_master.rb
index 0a8048cc48..fcc90fa503 100644
--- a/guides/bug_report_templates/generic_master.rb
+++ b/guides/bug_report_templates/generic_master.rb
@@ -19,9 +19,6 @@ require 'active_support'
require 'active_support/core_ext/object/blank'
require 'minitest/autorun'
-# Ensure backward compatibility with Minitest 4
-Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test)
-
class BugTest < Minitest::Test
def test_stuff
assert "zomg".present?