1
0
Fork 1
forked from fedi/mastodon
mastodon/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 Remove redundant code in AtomSerializer and spec (#3528) 2017-06-03 20:51:08 +02:00
extractor_spec.rb Spec Extractor (#3540) 2017-06-04 14:57:02 +02:00
feed_manager_spec.rb Account domain blocks (#2381) 2017-05-19 01:14:30 +02:00
formatter_spec.rb Remove some arguments of Formatter.instance.format and spec (#3541) 2017-06-04 14:58:57 +02:00
hash_object_spec.rb Spec HashObject (#3544) 2017-06-04 14:59:52 +02:00
inline_rabl_scope_spec.rb Spec InlineRablScope (#3542) 2017-06-04 15:00:08 +02:00
language_detector_spec.rb Remove usernames and hashtags from language detection (#3503) 2017-06-01 09:29:14 -04:00
provider_discovery_spec.rb A minor change for ProviderDiscovery and spec (#3543) 2017-06-04 14:59:40 +02:00
stream_entry_finder_spec.rb Spec action verification of StreamEntryFinder (#3549) 2017-06-04 14:56:31 +02:00
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 Add preference setting for delete toot modal (#3368) 2017-05-29 17:56:13 +02:00
webfinger_resource_spec.rb Fix tests issue introduced in #1607 (#1639) 2017-04-13 02:17:40 +02:00