1
0
Fork 0
forked from fedi/mastodon
mastodon/spec/controllers/concerns
Claire 43eff898a0
Prepare Mastodon for Rails 6 (#15911)
* Fix misuse of foreign_type

* Fix use of removed "add_template_helper"

* Use response.media_type instead of response.content_type in tests

* Fix CSV export controller test on Rails 6

Rails 6 sets a "filename*" field in the Content-Disposition header to
explicitly encode the filename as UTF-8.

This changes checks the first part of the Content-Disposition header so
it matches in both Rails 5 and Rails 6.

* Fix emoji formatting with Rails 6

* Make emoji output more idiomatic and robust

* Switch from redis-rails gem to built-in Rails redis cache storage
2021-03-17 10:09:55 +01:00
..
account_controller_concern_spec.rb Refactor controllers for statuses, accounts, and more (#11249) 2019-07-08 12:03:45 +02:00
accountable_concern_spec.rb Add spec for AccountableConcern#log_action (#9559) 2018-12-18 16:43:03 +01:00
challengable_concern_spec.rb Add password challenge to 2FA settings, e-mail notifications (#11878) 2019-09-18 16:37:27 +02:00
export_controller_concern_spec.rb Prepare Mastodon for Rails 6 (#15911) 2021-03-17 10:09:55 +01:00
localized_spec.rb Fix sr locale being selected over sr-Latn (#13693) 2020-05-11 01:09:21 +02:00
rate_limit_headers_spec.rb Rate limit by user instead of IP when API user is authenticated (#5923) 2017-12-09 14:20:02 +01:00
signature_verification_spec.rb Change signature verification to ignore signatures with invalid host (#13033) 2020-02-03 17:48:23 +01:00
user_tracking_concern_spec.rb Fix regeneration marker not expiring (#6290) 2018-01-18 20:29:56 +01:00