correct specs by swapping right code into right example

fixes simple reversal of example and code