aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-01-30 13:40:12 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-01-30 13:40:12 +0900
commit647a04cdbcb4e3abccb9487cdbc7366b4d923ea4 (patch)
treec3cbc7c57655cd6af1cd16b7ecd4b6da47947794 /actionpack
parent6162c49e40582bf058a6bb82ccc0cfb8f92332b6 (diff)
downloadrails-647a04cdbcb4e3abccb9487cdbc7366b4d923ea4.tar.gz
rails-647a04cdbcb4e3abccb9487cdbc7366b4d923ea4.tar.bz2
rails-647a04cdbcb4e3abccb9487cdbc7366b4d923ea4.zip
remove unused variable from render test
This removes the following warning. ``` rails/actionpack/test/controller/render_test.rb:278: warning: assigned but unused variable - response ```
Diffstat (limited to 'actionpack')
-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 9430ab8db8..c814d4ea54 100644
--- a/actionpack/test/controller/render_test.rb
+++ b/actionpack/test/controller/render_test.rb
@@ -275,7 +275,7 @@ class ExpiresInRenderTest < ActionController::TestCase
file.write "secrets!"
file.flush
assert_raises ActionView::MissingTemplate do
- response = get :dynamic_render, params: { id: file.path }
+ get :dynamic_render, params: { id: file.path }
end
ensure
file.close