aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/render_test.rb
diff options
context:
space:
mode:
authorCarl Lerche & Yehuda Katz <wycats@gmail.com>2009-04-14 17:22:51 -0700
committerCarl Lerche & Yehuda Katz <wycats@gmail.com>2009-04-14 18:32:31 -0700
commit3c1187699a80e0c4a003f5693389595cd644390f (patch)
tree3fc026e57412f4d145d5df314b4c6ce468ab84c1 /actionpack/test/template/render_test.rb
parent109a3876f09cb6b51a6da4d517bd6e3ea30380da (diff)
downloadrails-3c1187699a80e0c4a003f5693389595cd644390f.tar.gz
rails-3c1187699a80e0c4a003f5693389595cd644390f.tar.bz2
rails-3c1187699a80e0c4a003f5693389595cd644390f.zip
Makes rails-dev-boost work again
Diffstat (limited to 'actionpack/test/template/render_test.rb')
-rw-r--r--actionpack/test/template/render_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/template/render_test.rb b/actionpack/test/template/render_test.rb
index 8bad866ce3..8843f6fdd7 100644
--- a/actionpack/test/template/render_test.rb
+++ b/actionpack/test/template/render_test.rb
@@ -273,7 +273,7 @@ class CachedViewRenderTest < ActiveSupport::TestCase
# Ensure view path cache is primed
def setup
view_paths = ActionController::Base.view_paths
- assert_equal ActionView::Template::EagerPath, view_paths.first.class
+ assert_equal ActionView::Template::FileSystemPath, view_paths.first.class
setup_view(view_paths)
end
end
@@ -284,9 +284,9 @@ class LazyViewRenderTest < ActiveSupport::TestCase
# Test the same thing as above, but make sure the view path
# is not eager loaded
def setup
- path = ActionView::Template::Path.new(FIXTURE_LOAD_PATH)
+ path = ActionView::Template::FileSystemPath.new(FIXTURE_LOAD_PATH)
view_paths = ActionView::Base.process_view_paths(path)
- assert_equal ActionView::Template::Path, view_paths.first.class
+ assert_equal ActionView::Template::FileSystemPath, view_paths.first.class
setup_view(view_paths)
end
end