diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-05-25 00:09:49 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-05-25 00:49:22 +0530 |
commit | b921679d0dd3d5ca16f0362c2b34e7703cfe15e5 (patch) | |
tree | 490292e97e122795b39a782d18bbfe73a451e09d /railties/test | |
parent | 36991f195bd6337ef01bd4006c0c078988640f2a (diff) | |
download | rails-b921679d0dd3d5ca16f0362c2b34e7703cfe15e5.tar.gz rails-b921679d0dd3d5ca16f0362c2b34e7703cfe15e5.tar.bz2 rails-b921679d0dd3d5ca16f0362c2b34e7703cfe15e5.zip |
fixes Rake::RDocTask deprecation warnings from rake 0.9.0
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/railties/railtie_test.rb | 4 | ||||
-rw-r--r-- | railties/test/railties/shared_tests.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/railties/test/railties/railtie_test.rb b/railties/test/railties/railtie_test.rb index 7ea8364ae9..18fdf59fe3 100644 --- a/railties/test/railties/railtie_test.rb +++ b/railties/test/railties/railtie_test.rb @@ -97,7 +97,7 @@ module RailtiesTest assert !$ran_block require 'rake' require 'rake/testtask' - require 'rake/rdoctask' + require 'rdoc/task' AppTemplate::Application.load_tasks assert $ran_block @@ -121,7 +121,7 @@ module RailtiesTest assert_equal [], $ran_block require 'rake' require 'rake/testtask' - require 'rake/rdoctask' + require 'rdoc/task' AppTemplate::Application.load_tasks assert $ran_block.include?("my_tie") diff --git a/railties/test/railties/shared_tests.rb b/railties/test/railties/shared_tests.rb index e5debf29ae..659551d08a 100644 --- a/railties/test/railties/shared_tests.rb +++ b/railties/test/railties/shared_tests.rb @@ -237,7 +237,7 @@ module RailtiesTest boot_rails require 'rake' - require 'rake/rdoctask' + require 'rdoc/task' require 'rake/testtask' Rails.application.load_tasks Rake::Task[:foo].invoke |