Minor syntax change from stub to double in factory_spec