aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2011-11-03 16:09:57 +0000
committerJon Leighton <j@jonathanleighton.com>2011-11-03 19:08:09 +0000
commitb5f908a7ad515215f164e306f82c3e6c506182cb (patch)
treeefb6c079abe5715a779c2e8c82174f386609dcc9 /actionpack
parentd486103570bf680307ba474915efc01862e99403 (diff)
downloadrails-b5f908a7ad515215f164e306f82c3e6c506182cb.tar.gz
rails-b5f908a7ad515215f164e306f82c3e6c506182cb.tar.bz2
rails-b5f908a7ad515215f164e306f82c3e6c506182cb.zip
Stub find_template so that when handle_render_error is called in ActionView::Template, we get to see the actual underlying error rather than a NoMethodError.
This shows an encoding bug on Ruby 1.9.3.
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/test/template/template_test.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/actionpack/test/template/template_test.rb b/actionpack/test/template/template_test.rb
index b0ca7de0b6..70ca876c67 100644
--- a/actionpack/test/template/template_test.rb
+++ b/actionpack/test/template/template_test.rb
@@ -8,6 +8,9 @@ class TestERBTemplate < ActiveSupport::TestCase
def disable_cache
yield
end
+
+ def find_template(*args)
+ end
end
class Context