You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/spec
Akihiko Odaki (@fn_aki@pawoo.net) e07b57852e Remove some code in TagManager and spec (#3547)
* Do not fall back to StreamEntry if object_type is unavailable in TagManager

Since 6d6a429af8, when Status, the only model
with stream_entry, and StreamEntry got its own logic in uri_for and
url_for, the purpose of the fallbacks to activity_type of StreamEntry
became unclear.

This commit removes the fallbacks. When adding another model with
stream_entry in future, consider to update uri_for and url_for.

* Cover TagManager more
7 years ago
..
controllers Fix spec for #2388 (#3526) 7 years ago
fabricators Remove redundant code in AtomSerializer and spec (#3528) 7 years ago
features Add scenarios for log in (#3497) 7 years ago
fixtures A minor change for ProviderDiscovery and spec (#3543) 7 years ago
helpers
javascript Improve tests for JavaScript (#3496) 7 years ago
lib Remove some code in TagManager and spec (#3547) 7 years ago
mailers
models Handle nil and blank cases in Account finders (#3500) 7 years ago
policies
presenters
requests
routing Spec coverage and refactor for the api/v1/accounts controllers (#3451) 7 years ago
services
support/matchers/model
views
workers
rails_helper.rb
spec_helper.rb