Fixed spec in different rubies