diff options
author | Yehuda Katz <wycats@gmail.com> | 2009-07-19 22:12:15 +0900 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-07-19 22:31:44 +0900 |
commit | 0f2914be405410e824b40dcff28e5dfa541bdb2a (patch) | |
tree | 5d29a561a0ab34a0b56d2bb8e90668d03c9934d7 /actionpack/test/template | |
parent | bb530923bcd5c643f9bfca8e36cd3fa36365032d (diff) | |
download | rails-0f2914be405410e824b40dcff28e5dfa541bdb2a.tar.gz rails-0f2914be405410e824b40dcff28e5dfa541bdb2a.tar.bz2 rails-0f2914be405410e824b40dcff28e5dfa541bdb2a.zip |
Separate ActionView::Context so something else can easily be made into an AV context
Diffstat (limited to 'actionpack/test/template')
-rw-r--r-- | actionpack/test/template/compiled_templates_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/compiled_templates_test.rb b/actionpack/test/template/compiled_templates_test.rb index 9c268aef27..7734e6da73 100644 --- a/actionpack/test/template/compiled_templates_test.rb +++ b/actionpack/test/template/compiled_templates_test.rb @@ -3,7 +3,7 @@ require 'controller/fake_models' class CompiledTemplatesTest < Test::Unit::TestCase def setup - @compiled_templates = ActionView::Base::CompiledTemplates + @compiled_templates = ActionView::CompiledTemplates @compiled_templates.instance_methods.each do |m| @compiled_templates.send(:remove_method, m) if m =~ /^_render_template_/ end |