aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/render_test.rb
diff options
context:
space:
mode:
authorVinicius Stock <instantink+pair+vinicius@hp.com>2017-05-30 11:12:34 -0300
committerVinicius Stock <instantink+pair+vinicius@hp.com>2018-04-20 11:01:05 -0300
commit297a579de4f8cb8d8144b18d85ee370558c0977c (patch)
treef2ebeb2d607805869d8e1d354a8bddfaf046ae00 /actionpack/test/controller/render_test.rb
parentb6ee4e4b989bfc2fe50b2b830fdcb90ef9e23d9a (diff)
downloadrails-297a579de4f8cb8d8144b18d85ee370558c0977c.tar.gz
rails-297a579de4f8cb8d8144b18d85ee370558c0977c.tar.bz2
rails-297a579de4f8cb8d8144b18d85ee370558c0977c.zip
Create MissingExactTemplate exception with separate template
Diffstat (limited to 'actionpack/test/controller/render_test.rb')
-rw-r--r--actionpack/test/controller/render_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/render_test.rb b/actionpack/test/controller/render_test.rb
index fc21543049..24c5761e41 100644
--- a/actionpack/test/controller/render_test.rb
+++ b/actionpack/test/controller/render_test.rb
@@ -650,7 +650,7 @@ class ImplicitRenderTest < ActionController::TestCase
tests ImplicitRenderTestController
def test_implicit_no_content_response_as_browser
- assert_raises(ActionController::UnknownFormat) do
+ assert_raises(ActionController::MissingExactTemplate) do
get :empty_action
end
end