You handled it right. Didn't like what you were doing, told them, gave notice and moved on. As far as not liking getting lied to. Get used to it.