Remove ruby 1.9 specific syntax from specs