diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-01-30 13:40:12 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-01-30 13:40:12 +0900 |
commit | 647a04cdbcb4e3abccb9487cdbc7366b4d923ea4 (patch) | |
tree | c3cbc7c57655cd6af1cd16b7ecd4b6da47947794 /actionpack/test/controller | |
parent | 6162c49e40582bf058a6bb82ccc0cfb8f92332b6 (diff) | |
download | rails-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/test/controller')
-rw-r--r-- | actionpack/test/controller/render_test.rb | 2 |
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 |