From 2e8132444f1443806701fdf10a36e193031f6ebd Mon Sep 17 00:00:00 2001 From: Timm Date: Mon, 23 Sep 2013 18:03:41 +0200 Subject: Changed ActiveSupport::Derprecation.silence to assert_deprecated. --- actionview/test/template/assert_select_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionview/test') diff --git a/actionview/test/template/assert_select_test.rb b/actionview/test/template/assert_select_test.rb index e53b9635e5..1b540399f9 100644 --- a/actionview/test/template/assert_select_test.rb +++ b/actionview/test/template/assert_select_test.rb @@ -269,14 +269,14 @@ class AssertSelectTest < ActionController::TestCase # testing invalid selectors def test_assert_select_with_invalid_selector render_html 'hello' - ActiveSupport::Deprecation.silence do + assert_deprecated do assert_nil assert_select("[href=http://example.com]") end end def test_css_select_with_invalid_selector render_html 'hello' - ActiveSupport::Deprecation.silence do + assert_deprecated do assert_nil css_select("[href=http://example.com]") end end -- cgit v1.2.3