diff options
author | Bryan Ricker <bricker88@gmail.com> | 2013-04-29 15:42:16 -0700 |
---|---|---|
committer | Bryan Ricker <bricker88@gmail.com> | 2013-05-06 18:30:29 -0700 |
commit | 3c516c4b5278c27d55425f7c2f875ca1cd2e8511 (patch) | |
tree | e12dc6a87170da37bbbe591659d804c5b53050ad /actionpack/test/template | |
parent | 17c1143af91fac5d1b6465ed5ad26315b1a2ec27 (diff) | |
download | rails-3c516c4b5278c27d55425f7c2f875ca1cd2e8511.tar.gz rails-3c516c4b5278c27d55425f7c2f875ca1cd2e8511.tar.bz2 rails-3c516c4b5278c27d55425f7c2f875ca1cd2e8511.zip |
Allow numbers in partial name for digesting
Add failing test for template with number at the end
Use \w for RENDER_DEPENDENCY regex
Spacing
Add CHANGELOG entry
Diffstat (limited to 'actionpack/test/template')
-rw-r--r-- | actionpack/test/template/digestor_test.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/actionpack/test/template/digestor_test.rb b/actionpack/test/template/digestor_test.rb index e29cecabc0..06735c30d3 100644 --- a/actionpack/test/template/digestor_test.rb +++ b/actionpack/test/template/digestor_test.rb @@ -83,6 +83,12 @@ class TemplateDigestorTest < ActionView::TestCase end end + def test_logging_of_missing_template_ending_with_number + assert_logged "Couldn't find template for digesting: messages/something_missing_1.html" do + digest("messages/show") + end + end + def test_nested_template_directory assert_digest_difference("messages/show") do change_template("messages/actions/_move") |