aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/new_render_test.rb
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2008-04-19 18:52:14 +0100
committerPratik Naik <pratiknaik@gmail.com>2008-04-19 18:59:13 +0100
commitef4c65088fb907fc819e6b5d83d284c38cdaabfc (patch)
treee4e674e270a04a71deb0aa5741ae6c4f16b847db /actionpack/test/controller/new_render_test.rb
parent534c6b2444970d59aea654aa3c6aeb41c206d14d (diff)
downloadrails-ef4c65088fb907fc819e6b5d83d284c38cdaabfc.tar.gz
rails-ef4c65088fb907fc819e6b5d83d284c38cdaabfc.tar.bz2
rails-ef4c65088fb907fc819e6b5d83d284c38cdaabfc.zip
Move missing template logic to ActionView
Diffstat (limited to 'actionpack/test/controller/new_render_test.rb')
-rw-r--r--actionpack/test/controller/new_render_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/new_render_test.rb b/actionpack/test/controller/new_render_test.rb
index 342e2e7f87..80cf09e5f3 100644
--- a/actionpack/test/controller/new_render_test.rb
+++ b/actionpack/test/controller/new_render_test.rb
@@ -652,7 +652,7 @@ EOS
end
def test_bad_render_to_string_still_throws_exception
- assert_raises(ActionController::MissingTemplate) { get :render_to_string_with_exception }
+ assert_raises(ActionView::MissingTemplate) { get :render_to_string_with_exception }
end
def test_render_to_string_that_throws_caught_exception_doesnt_break_assigns
@@ -787,7 +787,7 @@ EOS
end
def test_render_missing_partial_template
- assert_raises(ActionView::ActionViewError) do
+ assert_raises(ActionView::MissingTemplate) do
get :missing_partial
end
end