arturcp / postgresql-backup

Automate PostgreSQL's backup and restore
11 stars 9 forks source link

Improve spec_helper to report coverage #1

Closed felipsimoes closed 3 years ago

felipsimoes commented 3 years ago

This PR:

arturcp commented 3 years ago

Thank you very much for your contribution, @felipsimoes 👏 The test coverage is very important, and I liked the small improvements you did as well, like ordering the dependencies 👍

arturcp commented 3 years ago

@felipsimoes I found the solution. Remove all require 'spec_helper' from all files and add this to the .rspec, in the root folder:

--require spec_helper