Commit graph

9 commits

Author SHA1 Message Date
Thong Kuah
d6b952ad3e
Add frozen_string_literal to spec/workers
Adds `# frozen_string_literal: true` to spec/workers ruby files
2019-04-01 13:35:22 -03:00
Valery Sizov
fbf618fc38 Fix: Project deletion may not log audit events during user deletion 2018-08-17 12:23:27 +03:00
Jacob Vosmaer
f376347f24 Find and mark more Git disk access locations, part 2 2018-06-12 14:33:37 +02:00
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