The complaint alleges two causes of action: First, that plaintiff and defendant were joint owners of a building, that defendant as joint owner collected certain rents from the tenants, that plaintiff was entitled to one-half the rents, that an account was stated between plaintiff and defendant, 'and that it was found that the defendant was indebted to plaintiff in a stated sum. The second cause of action sets forth the joint ownership and alleges that the defendant *44collected certain other rents, to one-half of which plaintiff was entitled, and that defendant promised to pay such one half.
The first defense of the answer, after an allowance of an amendment by the court, admitted the incorporation of plaintiff and denied “each and every other allegation in the complaint contained.” Of course, this put the plaintiff to its proof to make out its cause of action, and it was therefore error for the learned court below to grant judgment for plaintiff on the .pleadings.
Judgment and order reversed, and a new trial ordered, with costs to appellant to abide the event. All concur.