Skip to content
This repository has been archived by the owner on Dec 23, 2020. It is now read-only.

Add compatible between minitest 4 and 5 #35

Merged
merged 1 commit into from
Dec 28, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion test/test_actionview-link_to_blank.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ def render_erb(string)
# Rails4.1, this code is here:
# actionview/test/template/url_helper_test.rb
# and base class is ActiveSupport::TestCase
class TestActionViewLinkToBlank < MiniTest::Unit::TestCase

# Ensure backward compatibility with Minitest 4
Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test)

class TestActionViewLinkToBlank < MiniTest::Test

# In a few cases, the helper proxies to 'controller'
# or request.
Expand Down