Commit Graph

6 Commits

Author SHA1 Message Date
Tiago Botelho b5bdc55d23 Move exception handling to execute 2017-07-26 12:47:50 +01:00
Tiago Botelho 3491b19a4e Add specs for ProjectDestroyWorker 2017-07-20 09:59:56 +01:00
Robert Speicher d49768296c Auto-correct `RSpec/DescribedClass` violations 2017-05-01 11:13:33 -04:00
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