aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/railties/railtie_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/test/railties/railtie_test.rb')
-rw-r--r--railties/test/railties/railtie_test.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/railties/test/railties/railtie_test.rb b/railties/test/railties/railtie_test.rb
index 4b94942e1f..18fdf59fe3 100644
--- a/railties/test/railties/railtie_test.rb
+++ b/railties/test/railties/railtie_test.rb
@@ -97,12 +97,7 @@ module RailtiesTest
assert !$ran_block
require 'rake'
require 'rake/testtask'
- begin
- require 'rdoc/task'
- rescue LoadError
- require 'rake/rdoctask'
- end
-
+ require 'rdoc/task'
AppTemplate::Application.load_tasks
assert $ran_block