Permalink
Browse files

Silence warning: instance variable @explicit_view_paths not initialized

  • Loading branch information...
1 parent a0d28dc commit 8073e47262e73caa2053ae72dd3e1d8710d61d2e @brynary brynary committed Nov 9, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 actionpack/test/template/compiled_templates_test.rb
@@ -2,8 +2,9 @@
require 'controller/fake_models'
class CompiledTemplatesTest < Test::Unit::TestCase
-
+
def setup
+ @explicit_view_paths = nil
@compiled_templates = ActionView::Base::CompiledTemplates
@compiled_templates.instance_methods.each do |m|
@compiled_templates.send(:remove_method, m) if m =~ /^_run_/

0 comments on commit 8073e47

Please sign in to comment.