diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-01-30 16:52:09 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-01-30 16:52:09 +0900 |
commit | 92cca41bbe6d1ae4e1c1e63eb08871a57fa5e36e (patch) | |
tree | 41e4772da3fe88b34acb04cf268658a979c1e3fa /guides/bug_report_templates | |
parent | 6162c49e40582bf058a6bb82ccc0cfb8f92332b6 (diff) | |
download | rails-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.rb | 3 |
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? |