fixed unit tests

This commit is contained in:
albert
2010-03-18 18:35:16 -04:00
parent 06a959a9fd
commit be10906044
4 changed files with 6 additions and 6 deletions

View File

@@ -125,7 +125,7 @@ class UploadTest < ActiveSupport::TestCase
assert_equal(110, post.image_height)
assert_equal(8558, post.file_size)
assert_equal(post.id, @upload.post_id)
assert_equal("finished", @upload.status)
assert_equal("completed", @upload.status)
end
end
@@ -151,6 +151,6 @@ class UploadTest < ActiveSupport::TestCase
assert(File.exists?(post.file_path))
assert_equal(28086, File.size(post.file_path))
assert_equal(post.id, @upload.post_id)
assert_equal("finished", @upload.status)
assert_equal("completed", @upload.status)
end
end