]> git.openstreetmap.org Git - rails.git/blobdiff - Rakefile
Fix tests to cope with stricter route enforcement in rails 2.3.6
[rails.git] / Rakefile
index 3bb0e8592a41ae3185ee32266c860714980dbed7..039e38f47aa6773d588e355ca59d27ce013605d7 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -1,10 +1,7 @@
 # Add your own tasks in files placed in lib/tasks ending in .rake,
 # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
 
-require(File.join(File.dirname(__FILE__), 'config', 'boot'))
-
+require File.expand_path('../config/application', __FILE__)
 require 'rake'
-require 'rake/testtask'
-require 'rake/rdoctask'
 
-require 'tasks/rails'
+OpenStreetMap::Application.load_tasks