summaryrefslogtreecommitdiffstats
path: root/test/fixtures
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-11-24 03:34:57 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-11-24 03:34:57 +0000
commit627dfd80b6371a44bdfa6825aa1ed0078a0f1dde (patch)
tree377b4f6d6f365657340bb65c385dfab4c154676c /test/fixtures
parent7bae592e626d9e8cde6678adff76958ce47f3433 (diff)
downloadredmine-627dfd80b6371a44bdfa6825aa1ed0078a0f1dde.tar.gz
redmine-627dfd80b6371a44bdfa6825aa1ed0078a0f1dde.zip
add unit application helper test to use latest image file (#3261)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7907 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/attachments.yml26
-rw-r--r--test/fixtures/files/101123161450_testfile_1.pngbin0 -> 2654 bytes
-rw-r--r--test/fixtures/files/101223161450_testfile_2.pngbin0 -> 3582 bytes
3 files changed, 26 insertions, 0 deletions
diff --git a/test/fixtures/attachments.yml b/test/fixtures/attachments.yml
index 438e21254..57bd23822 100644
--- a/test/fixtures/attachments.yml
+++ b/test/fixtures/attachments.yml
@@ -182,3 +182,29 @@ attachments_015:
author_id: 2
content_type: text/x-diff
description: attachement of a private issue
+attachments_016:
+ content_type: image/png
+ downloads: 0
+ created_on: 2010-11-23 16:14:50 +09:00
+ disk_filename: 101123161450_testfile_1.png
+ container_id: 14
+ digest: 8e0294de2441577c529f170b6fb8f638
+ id: 16
+ container_type: Issue
+ description: ""
+ filename: testfile.png
+ filesize: 2654
+ author_id: 2
+attachments_017:
+ content_type: image/png
+ downloads: 0
+ created_on: 2010-12-23 16:14:50 +09:00
+ disk_filename: 101223161450_testfile_2.png
+ container_id: 14
+ digest: 6bc2963e8d7ea0d3e68d12d1fba3d6ca
+ id: 17
+ container_type: Issue
+ description: ""
+ filename: testfile.PNG
+ filesize: 3582
+ author_id: 2
diff --git a/test/fixtures/files/101123161450_testfile_1.png b/test/fixtures/files/101123161450_testfile_1.png
new file mode 100644
index 000000000..6dad7f1d8
--- /dev/null
+++ b/test/fixtures/files/101123161450_testfile_1.png
Binary files differ
diff --git a/test/fixtures/files/101223161450_testfile_2.png b/test/fixtures/files/101223161450_testfile_2.png
new file mode 100644
index 000000000..aec3fcfdf
--- /dev/null
+++ b/test/fixtures/files/101223161450_testfile_2.png
Binary files differ