Fix deprecation warning in spec
Tagged 0.2.0