mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fix typo
This commit is contained in:
parent
6655c78349
commit
7d10ce1c92
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ module ActionController
|
||||||
assert_match "my.csv", @response.headers["Content-Disposition"]
|
assert_match "my.csv", @response.headers["Content-Disposition"]
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_send_stream_with_optons
|
def test_send_stream_with_options
|
||||||
get :send_stream_with_options
|
get :send_stream_with_options
|
||||||
assert_equal %[{ name: "David", age: 41 }], @response.body
|
assert_equal %[{ name: "David", age: 41 }], @response.body
|
||||||
assert_equal "application/json", @response.headers["Content-Type"]
|
assert_equal "application/json", @response.headers["Content-Type"]
|
||||||
|
|
Loading…
Reference in a new issue