passed spec in ruby 2.0