nyastodon/spec/lib
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
2017-06-04 16:14:25 +02:00
..
atom_serializer_spec.rb
extractor_spec.rb
feed_manager_spec.rb
formatter_spec.rb
hash_object_spec.rb
inline_rabl_scope_spec.rb
language_detector_spec.rb
provider_discovery_spec.rb
stream_entry_finder_spec.rb
tag_manager_spec.rb Remove some code in TagManager and spec (#3547) 2017-06-04 16:14:25 +02:00
user_settings_decorator_spec.rb
webfinger_resource_spec.rb