The state Senate was expected to take the final vote required before sending the contentious bill to Gov. Jerry Brown today.