This PR adds a shared context for the testing of Rake tasks, indicated in Rspec by type :task. It loads the rake tasks we have, both custom and built-in, and then clears the Rake application after each test to help keep changes made in one test from affecting other tests. These steps could be manually done in each test; this PR is to help keep code DRY and to assist in keeping rake tests from affecting the state of other rake tests.
Fixes #519
This PR adds a shared context for the testing of Rake tasks, indicated in Rspec by
type :task
. It loads the rake tasks we have, both custom and built-in, and then clears the Rake application after each test to help keep changes made in one test from affecting other tests. These steps could be manually done in each test; this PR is to help keep code DRY and to assist in keeping rake tests from affecting the state of other rake tests.