summaryrefslogtreecommitdiffstats
path: root/test/test_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-30 16:16:12 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-30 16:16:12 +0000
commitf1308e64af08a92d8a6c4aaef3f99847e900ae8e (patch)
tree4a09b4d8e4c1333df46583482a60549363d61adc /test/test_helper.rb
parent8e84b1a48f49919806650baad353f3abd70ef1f4 (diff)
downloadredmine-f1308e64af08a92d8a6c4aaef3f99847e900ae8e.tar.gz
redmine-f1308e64af08a92d8a6c4aaef3f99847e900ae8e.zip
Removed unneeded patch in tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13681 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r--test/test_helper.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 4754aaf06..1eb2c7a34 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -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