aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template/streaming_render_test.rb
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@github.com>2019-03-30 13:33:52 -0700
committerGitHub <noreply@github.com>2019-03-30 13:33:52 -0700
commit2bf55179813190f2a79509383e21c2b43e72f4c2 (patch)
tree220eca9ebaa2e54df78eb1d4430ab8fbc39dcddc /actionview/test/template/streaming_render_test.rb
parent197fe2222e553354823fd7685e9d174281e33c3c (diff)
parentc7820d8124c854760a4d288334f185de2fb99446 (diff)
downloadrails-2bf55179813190f2a79509383e21c2b43e72f4c2.tar.gz
rails-2bf55179813190f2a79509383e21c2b43e72f4c2.tar.bz2
rails-2bf55179813190f2a79509383e21c2b43e72f4c2.zip
Merge pull request #35688 from jhawthorn/render_file_rfc
RFC: Introduce Template::File
Diffstat (limited to 'actionview/test/template/streaming_render_test.rb')
-rw-r--r--actionview/test/template/streaming_render_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionview/test/template/streaming_render_test.rb b/actionview/test/template/streaming_render_test.rb
index a5b59a700e..a5e673e71e 100644
--- a/actionview/test/template/streaming_render_test.rb
+++ b/actionview/test/template/streaming_render_test.rb
@@ -47,12 +47,12 @@ class FiberedTest < SetupFiberedBase
end
def test_render_file
- assert_equal "Hello world!", buffered_render(file: "test/hello_world")
+ assert_equal "Hello world!", assert_deprecated { buffered_render(file: "test/hello_world") }
end
def test_render_file_with_locals
locals = { secret: "in the sauce" }
- assert_equal "The secret is in the sauce\n", buffered_render(file: "test/render_file_with_locals", locals: locals)
+ assert_equal "The secret is in the sauce\n", assert_deprecated { buffered_render(file: "test/render_file_with_locals", locals: locals) }
end
def test_render_partial