fix unit tests

This commit is contained in:
r888888888
2015-09-23 12:13:14 -07:00
parent b6d9011f6c
commit 3df9f0cdf6
9 changed files with 14045 additions and 93 deletions

View File

@@ -36,7 +36,7 @@ class UploadTest < ActiveSupport::TestCase
should "fail creation" do
@upload = FactoryGirl.build(:jpg_upload, :tag_string => "")
@upload.save
assert_equal(["You can not upload until your pending posts have been approved"], @upload.errors.full_messages)
assert_equal(["You have reached your upload limit for the day"], @upload.errors.full_messages)
end
end