change format to doc for rspec