From 7b295ef369a0909383b011fcaeeb2d94d2de8c48 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 29 Mar 2013 15:31:26 -0700 Subject: Revert "Warning removed unused variable task_name" This reverts commit 106e15927f0dd8060fc37eff44b823a92fa94bd2. --- railties/lib/rails/test_unit/testing.rake | 1 + 1 file changed, 1 insertion(+) (limited to 'railties/lib') diff --git a/railties/lib/rails/test_unit/testing.rake b/railties/lib/rails/test_unit/testing.rake index 3c247f32c0..de44bf9e4d 100644 --- a/railties/lib/rails/test_unit/testing.rake +++ b/railties/lib/rails/test_unit/testing.rake @@ -79,6 +79,7 @@ namespace :test do # Display deprecation message task :deprecated do + task_name = ARGV.first ActiveSupport::Deprecation.warn "`rake #{ARGV.first}` is deprecated with no replacement." end -- cgit v1.2.3