]> source.dussan.org Git - redmine.git/commitdiff
Removed unneeded patch in tests.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 30 Nov 2014 16:16:12 +0000 (16:16 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 30 Nov 2014 16:16:12 +0000 (16:16 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@13681 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/test_helper.rb

index 4754aaf06ed70e57cbd870d8a0ee1eb3a3086bac..1eb2c7a341fb7e861143a4bddb9fbda4d5d9c464 100644 (file)
@@ -279,14 +279,3 @@ module Redmine
     end
   end
 end
-
-# URL helpers do not work with config.threadsafe!
-# https://github.com/rspec/rspec-rails/issues/476#issuecomment-4705454
-ActionView::TestCase::TestController.instance_eval do
-  helper Rails.application.routes.url_helpers
-end
-ActionView::TestCase::TestController.class_eval do
-  def _routes
-    Rails.application.routes
-  end
-end