Well, infinity_value is an mspec helper that is always available, it's not something 1.9 specific. So you should be able to just use that.