fix constant stubbing in spec