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:
Eric Davis
2010-08-19 22:24:42 +00:00
parent e4c5a91d0e
commit 9696557897
2 changed files with 7 additions and 3 deletions

View File

@@ -12,6 +12,6 @@ class Attachment < ActiveRecord::Base
end
def self.generate_file
@file = mock_file
@file = ActiveSupport::TestCase.mock_file
end
end