aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
authorMack Earnhardt <mack@agilereasoning.com>2013-03-16 23:24:27 -0400
committerMack Earnhardt <mack@agilereasoning.com>2013-03-17 12:16:42 -0400
commitc23f3aa7c03feece8232245d2e135a7375571f5c (patch)
tree8b011573dabe9c6b720bf562fd1c54a1be1446e2 /actionpack/test/controller
parentf5ecb133335dbfcb2322e5ce91158cf91f730aea (diff)
downloadrails-c23f3aa7c03feece8232245d2e135a7375571f5c.tar.gz
rails-c23f3aa7c03feece8232245d2e135a7375571f5c.tar.bz2
rails-c23f3aa7c03feece8232245d2e135a7375571f5c.zip
Fix rake test warnings in actionpack
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r--actionpack/test/controller/test_case_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/test_case_test.rb b/actionpack/test/controller/test_case_test.rb
index 9c6d02a62d..38b9794b4d 100644
--- a/actionpack/test/controller/test_case_test.rb
+++ b/actionpack/test/controller/test_case_test.rb
@@ -58,7 +58,7 @@ class TestCaseTest < ActionController::TestCase
end
def test_headers
- render text: JSON.dump(request.headers.env)
+ render text: request.headers.env.to_json
end
def test_html_output