mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-01 03:57:15 +00:00
Fix "DEPRECATION WARNING: Passing a path to relative to is deprecated." (#29914).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20885 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e86476eb5b
commit
9668486304
@ -59,7 +59,7 @@ class ActiveSupport::TestCase
|
||||
self.use_instantiated_fixtures = false
|
||||
|
||||
def uploaded_test_file(name, mime)
|
||||
fixture_file_upload("files/#{name}", mime, true)
|
||||
fixture_file_upload(name.to_s, mime, true)
|
||||
end
|
||||
|
||||
def mock_file(options=nil)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user