Update the unit test for mime types. Can't test it right now because routing is broken for the test framework so we have to fix that first.

This commit is contained in:
Bharat Mediratta
2008-11-19 03:39:12 +00:00
parent 20a0700fcb
commit 89bb3c42f7
+1
View File
@@ -34,6 +34,7 @@ class Photo_Helper_Test extends Unit_Test_Case {
$this->assert_equal("$rand.jpg", $photo->name);
$this->assert_equal($rand, $photo->title);
$this->assert_equal($rand, $photo->description);
$this->assert_equal("image/jpeg", $photo->mime_type);
$this->assert_equal($photo->parent()->right - 2, $photo->left);
$this->assert_equal($photo->parent()->right - 1, $photo->right);