Write spec for undefined method