diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2008-04-19 18:52:14 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-04-19 18:59:13 +0100 |
commit | ef4c65088fb907fc819e6b5d83d284c38cdaabfc (patch) | |
tree | e4e674e270a04a71deb0aa5741ae6c4f16b847db /actionpack/test/controller/mime_responds_test.rb | |
parent | 534c6b2444970d59aea654aa3c6aeb41c206d14d (diff) | |
download | rails-ef4c65088fb907fc819e6b5d83d284c38cdaabfc.tar.gz rails-ef4c65088fb907fc819e6b5d83d284c38cdaabfc.tar.bz2 rails-ef4c65088fb907fc819e6b5d83d284c38cdaabfc.zip |
Move missing template logic to ActionView
Diffstat (limited to 'actionpack/test/controller/mime_responds_test.rb')
-rw-r--r-- | actionpack/test/controller/mime_responds_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/mime_responds_test.rb b/actionpack/test/controller/mime_responds_test.rb index c34643ddd5..c617cb2e84 100644 --- a/actionpack/test/controller/mime_responds_test.rb +++ b/actionpack/test/controller/mime_responds_test.rb @@ -468,7 +468,7 @@ class MimeControllerTest < Test::Unit::TestCase assert_equal '<html><div id="html_missing">Hello future from Firefox!</div></html>', @response.body @request.env["HTTP_ACCEPT"] = "text/iphone" - assert_raises(ActionController::MissingTemplate) { get :iphone_with_html_response_type_without_layout } + assert_raises(ActionView::MissingTemplate) { get :iphone_with_html_response_type_without_layout } end end |