diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-12-28 14:16:26 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-12-31 13:57:23 -0300 |
commit | eb4930e3c724cf71d6ce5bb2aec4af82b2025b03 (patch) | |
tree | 865e1be25c9bebfb1515adfee6be11dcb478e821 /actionpack/lib/action_controller | |
parent | d58d71f565848cccc1a3fa4ae504559042146c42 (diff) | |
download | rails-eb4930e3c724cf71d6ce5bb2aec4af82b2025b03.tar.gz rails-eb4930e3c724cf71d6ce5bb2aec4af82b2025b03.tar.bz2 rails-eb4930e3c724cf71d6ce5bb2aec4af82b2025b03.zip |
Inherit from MiniTest::Unit::TestCase instead of MiniTest::Spec
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/test_case.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb index 7b48870090..331d15d403 100644 --- a/actionpack/lib/action_controller/test_case.rb +++ b/actionpack/lib/action_controller/test_case.rb @@ -360,13 +360,6 @@ module ActionController # # assert_redirected_to page_url(title: 'foo') class TestCase < ActiveSupport::TestCase - - # Use AC::TestCase for the base class when describing a controller - register_spec_type(self) do |desc| - Class === desc && desc < ActionController::Metal - end - register_spec_type(/Controller( ?Test)?\z/i, self) - module Behavior extend ActiveSupport::Concern include ActionDispatch::TestProcess |