mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
Fix the mock_file test helper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4010 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -12,6 +12,6 @@ class Attachment < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def self.generate_file
|
||||
@file = mock_file
|
||||
@file = ActiveSupport::TestCase.mock_file
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user