mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 03:15:57 +01:00
Replaces find(:all) calls.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10917 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -139,7 +139,7 @@ RAW
|
||||
# link image
|
||||
'!logo.gif!:http://foo.bar/' => '<a href="http://foo.bar/"><img src="/attachments/download/3" title="This is a logo" alt="This is a logo" /></a>',
|
||||
}
|
||||
attachments = Attachment.find(:all)
|
||||
attachments = Attachment.all
|
||||
to_test.each { |text, result| assert_equal "<p>#{result}</p>", textilizable(text, :attachments => attachments) }
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user