diff options
author | Timm <kaspth@gmail.com> | 2013-09-23 18:03:41 +0200 |
---|---|---|
committer | Timm <kaspth@gmail.com> | 2014-06-16 21:04:16 +0200 |
commit | 2e8132444f1443806701fdf10a36e193031f6ebd (patch) | |
tree | cbc4e55c99ab21cd24e19c8b3cfe5708dd45a6ab | |
parent | 68e08fe8c955d5b4a6839d4587e2f32b77f4fe44 (diff) | |
download | rails-2e8132444f1443806701fdf10a36e193031f6ebd.tar.gz rails-2e8132444f1443806701fdf10a36e193031f6ebd.tar.bz2 rails-2e8132444f1443806701fdf10a36e193031f6ebd.zip |
Changed ActiveSupport::Derprecation.silence to assert_deprecated.
-rw-r--r-- | actionview/test/template/assert_select_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 '<a href="http://example.com">hello</a>' - 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 '<a href="http://example.com">hello</a>' - ActiveSupport::Deprecation.silence do + assert_deprecated do assert_nil css_select("[href=http://example.com]") end end |