aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/callbacks_test.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2017-01-06 04:43:23 -0500
committerRafael Mendonça França <rafaelmfranca@gmail.com>2017-01-31 15:52:12 -0500
commit3f2b7d60a52ffb2ad2d4fcf889c06b631db1946b (patch)
treeba08b7a6ef91e1810948a8f7036fc97cafa092f0 /actionpack/test/dispatch/callbacks_test.rb
parent4f4906b52383468c72aa212c2dab345a3d1b63af (diff)
downloadrails-3f2b7d60a52ffb2ad2d4fcf889c06b631db1946b.tar.gz
rails-3f2b7d60a52ffb2ad2d4fcf889c06b631db1946b.tar.bz2
rails-3f2b7d60a52ffb2ad2d4fcf889c06b631db1946b.zip
Remove deprecated callbacks from ActionDispatch middlewares
Diffstat (limited to 'actionpack/test/dispatch/callbacks_test.rb')
-rw-r--r--actionpack/test/dispatch/callbacks_test.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/actionpack/test/dispatch/callbacks_test.rb b/actionpack/test/dispatch/callbacks_test.rb
index 57e21a22c6..29a5dfc0ad 100644
--- a/actionpack/test/dispatch/callbacks_test.rb
+++ b/actionpack/test/dispatch/callbacks_test.rb
@@ -35,24 +35,6 @@ class DispatcherTest < ActiveSupport::TestCase
assert_equal 6, Foo.b
end
- def test_to_prepare_and_cleanup_delegation
- prepared = cleaned = false
- assert_deprecated do
- ActionDispatch::Callbacks.to_prepare { prepared = true }
- ActionDispatch::Callbacks.to_prepare { cleaned = true }
- end
-
- assert_deprecated do
- ActionDispatch::Reloader.prepare!
- end
- assert prepared
-
- assert_deprecated do
- ActionDispatch::Reloader.cleanup!
- end
- assert cleaned
- end
-
private
def dispatch(&block)