Minor fix to specs and .gitignore

Hi,

I got an error while running the specs on a clean environment, the patch should fix it.

Thanks