Unless it's a bona fide occupational requirement (I can't think of any job in which marital status qualifies as BFOR) it's actually a violation of the Canadian Charter - prohibited grounds for refusing employment include things such as race, gender, physical disability, marital status etc...