fix tests

This commit is contained in:
Albert Yi
2018-06-20 11:11:46 -07:00
parent d240fdde66
commit e551ff9b0c
3 changed files with 7 additions and 8 deletions

View File

@@ -29,13 +29,6 @@ class UploadTest < ActiveSupport::TestCase
assert_equal(["You have reached your upload limit for the day"], @upload.errors.full_messages)
end
end
should "increment the uploaders post_upload_count" do
assert_difference(-> { CurrentUser.user.post_upload_count }) do
FactoryBot.create(:source_upload)
CurrentUser.user.reload
end
end
end
end
end