Fix error in spec