GitLab Bot
fa7ac2663b
Add latest changes from gitlab-org/gitlab@master
2020-06-24 06:09:01 +00:00
GitLab Bot
c4c1fc5fe7
Add latest changes from gitlab-org/gitlab@master
2020-05-15 15:08:04 +00:00
GitLab Bot
3f9e1b2611
Add latest changes from gitlab-org/gitlab@master
2020-01-23 15:08:46 +00:00
GitLab Bot
b3e4ec8e8a
Add latest changes from gitlab-org/gitlab@master
2019-10-23 09:06:03 +00:00
Thong Kuah
a2cfc150ce
Add # frozen_string_literal to spec/models
...
Adds `# frozen_string_literal: true` to spec/models ruby files
2019-04-01 14:37:54 +13:00
blackst0ne
ddd2a25679
Replace 'Sidekiq::Testing.inline!' with 'perform_enqueued_jobs'
...
`perform_enqueued_jobs` is a Sidekiq method.
Using this method violates the Dependency inversion principle[0].
This commit replaces `perform_enqueued_jobs` with ActiveJob's abstract
method `perform_enqueued_jobs` in specs.
[0]: https://en.wikipedia.org/wiki/Dependency_inversion_principle
2018-07-23 15:34:54 +11:00
Rémy Coutable
ddccd24c13
Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Stan Hu
fd60561936
Use DeleteUserWorker for removing users via spam logs
...
Before deleting a user via a SpamLog would just call `user.destroy`,
which may omit other things that need to be cleaned up.
2017-04-17 17:17:31 -07:00
Douglas Barbosa Alexandre
718b1dddfe
Refactor Admin::SpamLogsController to block user before destroying
2016-02-02 11:25:44 -02:00
Douglas Barbosa Alexandre
80d0a2a6d8
Add model spec for SpamLog
2016-02-02 11:25:44 -02:00