Minneapolis teachers and service professionals have ratified a contract agreement with the district that includes pay raises and agreements related to class size and testing issues, their union said Saturday.