aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/test_test.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-05-02 14:57:40 -0500
committerJoshua Peek <josh@joshpeek.com>2009-05-02 14:57:40 -0500
commita8b75c480fc9774252f5976dcf1a614079822e56 (patch)
treeb2567b106a5a87472340bdeab54f4b1880fe06df /actionpack/test/controller/test_test.rb
parent3900f4007ee6463b8936af23c04017a900673866 (diff)
downloadrails-a8b75c480fc9774252f5976dcf1a614079822e56.tar.gz
rails-a8b75c480fc9774252f5976dcf1a614079822e56.tar.bz2
rails-a8b75c480fc9774252f5976dcf1a614079822e56.zip
Functional test runner finalizes response just like the integration test runner. In both runners, the @response object will now behave the same.
Some functional tests will need to be updated if they are relying on preprocessed data on the response.
Diffstat (limited to 'actionpack/test/controller/test_test.rb')
-rw-r--r--actionpack/test/controller/test_test.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/actionpack/test/controller/test_test.rb b/actionpack/test/controller/test_test.rb
index 919f9815ec..9e88188b9a 100644
--- a/actionpack/test/controller/test_test.rb
+++ b/actionpack/test/controller/test_test.rb
@@ -614,7 +614,9 @@ XML
def test_binary_content_works_with_send_file
get :test_send_file
- assert_nothing_raised(NoMethodError) { @response.binary_content }
+ assert_deprecated do
+ assert_nothing_raised(NoMethodError) { @response.binary_content }
+ end
end
protected