From 0da775846aa186238ad1813ed414ae508ae0f706 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Sat, 15 Mar 2014 06:55:14 -0700 Subject: Clarify AV::Digestor.digest method signature docs and deprecation warning --- actionview/test/template/digestor_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionview/test') diff --git a/actionview/test/template/digestor_test.rb b/actionview/test/template/digestor_test.rb index 1c47952f54..0cbfd14c94 100644 --- a/actionview/test/template/digestor_test.rb +++ b/actionview/test/template/digestor_test.rb @@ -262,8 +262,8 @@ class TemplateDigestorTest < ActionView::TestCase end def test_arguments_deprecation - assert_deprecated(/should be provided as a hash/) { ActionView::Digestor.digest('messages/show', :html, finder) } - assert_deprecated(/should be provided as a hash/) { ActionView::Digestor.new('messages/show', :html, finder) } + assert_deprecated(/will be removed/) { ActionView::Digestor.digest('messages/show', :html, finder) } + assert_deprecated(/will be removed/) { ActionView::Digestor.new('messages/show', :html, finder) } end private -- cgit v1.2.3