mirror of
https://github.com/redmine/redmine.git
synced 2026-03-08 05:30:45 +01:00
Removed unneeded patch in tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13681 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user