Commit Graph

5 Commits

Author SHA1 Message Date
Jean-Philippe Lang ad25e3807d Make sure that tests restore the attachments path to the tmp dir so that fixture files don't get deleted.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8248 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-16 17:52:47 +00:00
Toshi MARUYAMA be29227c12 reset Attachment.storage_path at the end of attachment tests
Attachment files are deleted when database data were deleted.
So, other tests fail.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7911 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 08:10:41 +00:00
Toshi MARUYAMA 45aaef4556 Rails3: replace "all" fixtures at test/integration/api_test/attachments_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 23:58:17 +00:00
Toshi MARUYAMA 28a8048749 remove trailing white-spaces from test/integration/api_test/attachments_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6666 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 08:44:31 +00:00
Jean-Philippe Lang f89483a206 REST API for reading attachments (#7671).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6295 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-18 20:53:10 +00:00