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.
This commit is contained in:
Jon Leighton
2011-11-03 16:09:57 +00:00
parent d5e63b1a01
commit 75ae4b3492

View File

@@ -8,6 +8,9 @@ class TestERBTemplate < ActiveSupport::TestCase
def disable_cache
yield
end
def find_template(*args)
end
end
class Context