summaryrefslogtreecommitdiffstats
path: root/test/exemplars
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-08-19 22:24:42 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-08-19 22:24:42 +0000
commit969655789792e6f77ff7dc67bb83e20fadffeb2f (patch)
treed4cc02e4a68f7e15d187e2860f7e13f4b7a58ae6 /test/exemplars
parente4c5a91d0e9214485a13dec0a68225eeee16ee99 (diff)
downloadredmine-969655789792e6f77ff7dc67bb83e20fadffeb2f.tar.gz
redmine-969655789792e6f77ff7dc67bb83e20fadffeb2f.zip
Fix the mock_file test helper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4010 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/exemplars')
-rw-r--r--test/exemplars/attachment_exemplar.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/exemplars/attachment_exemplar.rb b/test/exemplars/attachment_exemplar.rb
index 8100fe906..4baaf530f 100644
--- a/test/exemplars/attachment_exemplar.rb
+++ b/test/exemplars/attachment_exemplar.rb
@@ -12,6 +12,6 @@ class Attachment < ActiveRecord::Base
end
def self.generate_file
- @file = mock_file
+ @file = ActiveSupport::TestCase.mock_file
end
end