提交 647a04cd 编写于 作者: Y yuuji.yaginuma

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
```
上级 6162c49e
......@@ -275,7 +275,7 @@ def test_dynamic_render_with_absolute_path
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册