diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2010-09-05 22:06:43 -0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-09-06 13:40:45 +0200 |
commit | 11fccc5f06bc67353b895eeeb65cfab94cb4cd25 (patch) | |
tree | 22f9c1970bdb16f54a19c852dc9a0d48e9d7c692 /actionpack/test/controller/log_subscriber_test.rb | |
parent | ed2650646ec9bd1103d6c049db8df99b7313d6b1 (diff) | |
download | rails-11fccc5f06bc67353b895eeeb65cfab94cb4cd25.tar.gz rails-11fccc5f06bc67353b895eeeb65cfab94cb4cd25.tar.bz2 rails-11fccc5f06bc67353b895eeeb65cfab94cb4cd25.zip |
Cleanup deprecation warnings in Action Controller
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'actionpack/test/controller/log_subscriber_test.rb')
-rw-r--r-- | actionpack/test/controller/log_subscriber_test.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/actionpack/test/controller/log_subscriber_test.rb b/actionpack/test/controller/log_subscriber_test.rb index 0a18741f0c..414eec4f9d 100644 --- a/actionpack/test/controller/log_subscriber_test.rb +++ b/actionpack/test/controller/log_subscriber_test.rb @@ -16,10 +16,6 @@ module Another send_data "cool data", :filename => "file.txt" end - def xfile_sender - send_file File.expand_path("company.rb", FIXTURE_LOAD_PATH), :x_sendfile => true - end - def file_sender send_file File.expand_path("company.rb", FIXTURE_LOAD_PATH) end @@ -133,15 +129,6 @@ class ACLogSubscriberTest < ActionController::TestCase assert_match /test\/fixtures\/company\.rb/, logs[1] end - def test_send_xfile - assert_deprecated { get :xfile_sender } - wait - - assert_equal 3, logs.size - assert_match /Sent file/, logs[1] - assert_match /test\/fixtures\/company\.rb/, logs[1] - end - def test_with_fragment_cache @controller.config.perform_caching = true get :with_fragment_cache |