Fix ruby 1.8 spec

Very weird that the way the class is defined has an influence on this.