Fixed spec that was using 1.9+ syntax to work with 1.8