diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-08-09 12:10:25 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-08-09 12:10:25 -0700 |
commit | f9f423fa183aeddb8c65bc7974860d0c6c670427 (patch) | |
tree | 3201dc510d2de34a5b1f528a2af96724dcb06eba /actionpack/test | |
parent | 3ad26c8e489a04a03053ec9f9ea09d7c39e0f3f0 (diff) | |
download | rails-f9f423fa183aeddb8c65bc7974860d0c6c670427.tar.gz rails-f9f423fa183aeddb8c65bc7974860d0c6c670427.tar.bz2 rails-f9f423fa183aeddb8c65bc7974860d0c6c670427.zip |
deprecating process_view_paths
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/template/compiled_templates_test.rb | 2 | ||||
-rw-r--r-- | actionpack/test/template/render_test.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/template/compiled_templates_test.rb b/actionpack/test/template/compiled_templates_test.rb index 3f31edd5ce..8be0f452fb 100644 --- a/actionpack/test/template/compiled_templates_test.rb +++ b/actionpack/test/template/compiled_templates_test.rb @@ -42,7 +42,7 @@ class CompiledTemplatesTest < Test::Unit::TestCase def render_without_cache(*args) path = ActionView::FileSystemResolver.new(FIXTURE_LOAD_PATH) - view_paths = ActionView::Base.process_view_paths(path) + view_paths = ActionView::PathSet.new([path]) ActionView::Base.new(view_paths, {}).render(*args) end diff --git a/actionpack/test/template/render_test.rb b/actionpack/test/template/render_test.rb index 6f02f8662d..8a582030f6 100644 --- a/actionpack/test/template/render_test.rb +++ b/actionpack/test/template/render_test.rb @@ -380,7 +380,7 @@ class LazyViewRenderTest < ActiveSupport::TestCase # is not eager loaded def setup path = ActionView::FileSystemResolver.new(FIXTURE_LOAD_PATH) - view_paths = ActionView::Base.process_view_paths(path) + view_paths = ActionView::PathSet.new([path]) assert_equal ActionView::FileSystemResolver.new(FIXTURE_LOAD_PATH), view_paths.first setup_view(view_paths) end |