about summary refs log tree commit diff
path: root/spec/lib/stream_entry_finder_spec.rb
diff options
context:
space:
mode:
authorAkihiko Odaki (@fn_aki@pawoo.net) <akihiko.odaki.4i@stu.hosei.ac.jp>2017-06-04 23:14:25 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-06-04 16:14:25 +0200
commite07b57852e951efebae7e2380a3691236420072d (patch)
treea5f4ec469eb511abe451cc5f5091aed9be2cd22d /spec/lib/stream_entry_finder_spec.rb
parent7c7c18fdea52ce288a87d2455f1efc55f74af003 (diff)
Remove some code in TagManager and spec (#3547)
* Do not fall back to StreamEntry if object_type is unavailable in TagManager

Since 6d6a429af8fe4bd92ed497f401676353fdc603e0, 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
Diffstat (limited to 'spec/lib/stream_entry_finder_spec.rb')
0 files changed, 0 insertions, 0 deletions