Add consistency in documentation by using 'spec' instead of 's'

The guides often used 'spec' and if you copy and paste that into this example
it would fail.

Single letter variable names are bad anyway.