aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/new_base/render_layout_test.rb
diff options
context:
space:
mode:
authorYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-06-17 15:32:55 -0700
committerYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-06-17 15:32:55 -0700
commitd8f352e970ec86e8b791f9994465a3678a44281f (patch)
treecb8f52f0c288638211cbf228d06c75631f4cb799 /actionpack/test/new_base/render_layout_test.rb
parent7ac9f29093c8f4d9739008a52d7d3265cfb04e23 (diff)
downloadrails-d8f352e970ec86e8b791f9994465a3678a44281f.tar.gz
rails-d8f352e970ec86e8b791f9994465a3678a44281f.tar.bz2
rails-d8f352e970ec86e8b791f9994465a3678a44281f.zip
Rename ActionView::Template::Path ActionView::Resolver
Diffstat (limited to 'actionpack/test/new_base/render_layout_test.rb')
-rw-r--r--actionpack/test/new_base/render_layout_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/new_base/render_layout_test.rb b/actionpack/test/new_base/render_layout_test.rb
index f32c60d683..279b807a5f 100644
--- a/actionpack/test/new_base/render_layout_test.rb
+++ b/actionpack/test/new_base/render_layout_test.rb
@@ -2,7 +2,7 @@ require File.join(File.expand_path(File.dirname(__FILE__)), "test_helper")
module ControllerLayouts
class ImplicitController < ::ApplicationController
- self.view_paths = [ActionView::Template::FixturePath.new(
+ self.view_paths = [ActionView::FixtureResolver.new(
"layouts/application.html.erb" => "OMG <%= yield %> KTHXBAI",
"layouts/override.html.erb" => "Override! <%= yield %>",
"basic.html.erb" => "Hello world!",
@@ -26,7 +26,7 @@ module ControllerLayouts
end
class ImplicitNameController < ::ApplicationController
- self.view_paths = [ActionView::Template::FixturePath.new(
+ self.view_paths = [ActionView::FixtureResolver.new(
"layouts/controller_layouts/implicit_name.html.erb" => "OMGIMPLICIT <%= yield %> KTHXBAI",
"basic.html.erb" => "Hello world!"
)]
@@ -68,7 +68,7 @@ module ControllerLayouts
end
class MismatchFormatController < ::ApplicationController
- self.view_paths = [ActionView::Template::FixturePath.new(
+ self.view_paths = [ActionView::FixtureResolver.new(
"layouts/application.html.erb" => "<html><%= yield %></html>",
"controller_layouts/mismatch_format/index.js.rjs" => "page[:test].omg",
"controller_layouts/mismatch_format/implicit.rjs" => "page[:test].omg"