gfyoung
93a44e135b
Add some frozen string to spec/**/*.rb
...
Adds frozen string to the following:
* spec/bin/**/*.rb
* spec/config/**/*.rb
* spec/controllers/**/*.rb
xref https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-04-15 10:17:05 +00:00
blackst0ne
b44a2c801a
Update specs to rails5 format
...
Updates specs to use new rails5 format.
The old format:
`get :show, { some: params }, { some: headers }`
The new format:
`get :show, params: { some: params }, headers: { some: headers }`
2018-12-19 10:04:31 +11:00
Jacopo
2f40dac352
Refactor have_http_status
into have_gitlab_http_status
in the specs
2017-10-20 10:13:18 +02:00
Patricio Cano
5994c11910
Further refactor and syntax fixes.
2016-08-15 17:20:57 -05:00
Patricio Cano
43e756d4ea
Refactored AkismetHelper into AkismetService and cleaned up Spammable
...
- Refactored SpamCheckService into SpamService
2016-08-15 13:18:15 -05:00
Patricio Cano
96399a81cb
Allow Issue
to be submitted as spam
...
- Added controller actions as reusable concerns
- Added controller tests
2016-08-15 13:18:15 -05:00
Z.J. van de Weg
abca19da8b
Use HTTP matchers if possible
2016-06-27 20:10:42 +02:00
Douglas Barbosa Alexandre
eefc46e0d5
Fix rubocop offenses
2016-02-02 11:25:44 -02:00
Douglas Barbosa Alexandre
718b1dddfe
Refactor Admin::SpamLogsController to block user before destroying
2016-02-02 11:25:44 -02:00
Stan Hu
d20e75a8d8
Support Akismet spam checking for creation of issues via API
...
Currently any spam detected by Akismet by non-members via API will be logged
in a separate table in the admin page.
Closes #5612
2016-02-02 11:25:44 -02:00