mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
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:
@@ -8,6 +8,9 @@ class TestERBTemplate < ActiveSupport::TestCase
|
||||
def disable_cache
|
||||
yield
|
||||
end
|
||||
|
||||
def find_template(*args)
|
||||
end
|
||||
end
|
||||
|
||||
class Context
|
||||
|
||||
Reference in New Issue
Block a user