diff options
author | Jeremy Kemper <jeremykemper@gmail.com> | 2014-03-15 06:55:14 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremykemper@gmail.com> | 2014-03-15 06:55:14 -0700 |
commit | 0da775846aa186238ad1813ed414ae508ae0f706 (patch) | |
tree | ed6a230c7601f67e3a4594e46175b1e2a928010e /actionview/test | |
parent | 7a5601c432d3906cc6ab853b3316e76a162f75d1 (diff) | |
download | rails-0da775846aa186238ad1813ed414ae508ae0f706.tar.gz rails-0da775846aa186238ad1813ed414ae508ae0f706.tar.bz2 rails-0da775846aa186238ad1813ed414ae508ae0f706.zip |
Clarify AV::Digestor.digest method signature docs and deprecation warning
Diffstat (limited to 'actionview/test')
-rw-r--r-- | actionview/test/template/digestor_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |