Commit graph

3 commits

Author SHA1 Message Date
Robert Speicher
68e6718932 Use :empty_project where possible in worker specs 2017-03-27 18:45:37 -04:00
Adam Pahlevi
538d1bffec resolve deprecation warnings
don’t pass AR object, use the ID to avoid depr warning

pass in the id instead of AR object to specs for `ProjectDestroyWorker`
2017-01-31 06:37:05 +07:00
Stan Hu
443ae8c4e6 Fix skip_repo parameter being ignored when destroying a namespace
When destroying a namespace, the `skip_repo` parameter is supposed
to prevent the repository directory from being destroyed and allow
the namespace after_destroy hook to run. If the namespace fails
to be deleted for some reason, we could be left with repositories
that are deleted with existing projects.
2016-08-03 17:07:38 -07:00