diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2016-06-07 14:28:11 -0400 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2016-06-07 14:36:14 -0400 |
commit | e6bb1a1b1f9c47414c588521ae05c02be923976f (patch) | |
tree | 575b1189076a35423c42a4c3b082fdcd4894679a /actionview | |
parent | f650e0324207e46ed5240380e60bdf1e2a5023a6 (diff) | |
download | rails-e6bb1a1b1f9c47414c588521ae05c02be923976f.tar.gz rails-e6bb1a1b1f9c47414c588521ae05c02be923976f.tar.bz2 rails-e6bb1a1b1f9c47414c588521ae05c02be923976f.zip |
Delete bad test
This test was broken by f650e0324207e46ed5240380e60bdf1e2a5023a6. It was
added by https://github.com/rails/rails/pull/17978, and is adequately
tested elsewhere. The reason that this breaks is that
`Controller#process` is not going to set a new response object, and we
now terminate in callbacks if the response has been sent. The only
reason that this test was calling `get` in the first place was because
the controller under test blows up if `request` was `nil`. The point
being that the failure is invalid, and I don't think we need to fix the
test in this location.
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/test/actionpack/controller/render_test.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/actionview/test/actionpack/controller/render_test.rb b/actionview/test/actionpack/controller/render_test.rb index bdb9e0397b..7b69ffc628 100644 --- a/actionview/test/actionpack/controller/render_test.rb +++ b/actionview/test/actionpack/controller/render_test.rb @@ -726,11 +726,6 @@ class RenderTest < ActionController::TestCase assert_equal "Elastica", @response.body end - def test_render_process - get :render_action_hello_world_as_string - assert_equal "Hello world!", @controller.process(:render_action_hello_world_as_string) - end - # :ported: def test_render_from_variable get :render_hello_world_from_variable |