diff --git a/lib/web_console/testing/fake_middleware.rb b/lib/web_console/testing/fake_middleware.rb index 144fc292..360547c0 100644 --- a/lib/web_console/testing/fake_middleware.rb +++ b/lib/web_console/testing/fake_middleware.rb @@ -22,7 +22,7 @@ def call(env) end def view - @view = View.new(@view_path) + @view = View.with_empty_template_cache.with_view_paths(@view_path) end private