Permalink
Browse files

Stub find_template so that when handle_render_error is called in Acti…

…onView::Template, we get to see the actual underlying error rather than a NoMethodError.

This shows an encoding bug on Ruby 1.9.3.
  • Loading branch information...
1 parent d5e63b1 commit 75ae4b3492528dd1dddfb059a36e45eff3535da2 @jonleighton jonleighton committed Nov 3, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 actionpack/test/template/template_test.rb
@@ -8,6 +8,9 @@ class LookupContext
def disable_cache
yield
end
+
+ def find_template(*args)
+ end
end
class Context

0 comments on commit 75ae4b3

Please sign in to comment.