Permalink
Browse files

Testing includes fixes

  • Loading branch information...
1 parent 53cfec7 commit c24bddffc3ed3c3fcadbaffa4968e31c08eb3454 @raul committed Apr 12, 2009
Showing with 5 additions and 4 deletions.
  1. +5 −4 test/translate_routes_test.rb
@@ -1,9 +1,10 @@
require 'test/unit'
require 'rubygems'
-require 'action_controller'
-require 'action_controller/test_process'
-require 'active_support'
-require 'action_mailer'
+
+%w(actionpack activesupport actionmailer).each{ |gem_lib| gem gem_lib, '2.2.2' }
+%w( activesupport actionpack actionmailer action_controller action_controller/test_case
+ action_controller/test_process action_controller/assertions
+ ).each{ |lib| require lib }
plugin_root = File.join(File.dirname(__FILE__), '..')
require "#{plugin_root}/lib/translate_routes"

0 comments on commit c24bddf

Please sign in to comment.