1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
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
2017-06-04 16:14:25 +02:00
..
controllers Fix spec for #2388 (#3526) 2017-06-03 14:40:55 +02:00
fabricators Remove redundant code in AtomSerializer and spec (#3528) 2017-06-03 20:51:08 +02:00
features Add scenarios for log in (#3497) 2017-06-01 17:25:59 +02:00
fixtures A minor change for ProviderDiscovery and spec (#3543) 2017-06-04 14:59:40 +02:00
helpers Hold value of I18n.locale with ApplicationHelperSpec (#3474) 2017-05-31 17:09:28 +02:00
javascript Improve tests for JavaScript (#3496) 2017-06-01 17:27:15 +02:00
lib Remove some code in TagManager and spec (#3547) 2017-06-04 16:14:25 +02:00
mailers Misc spec coverage improvements (#2821) 2017-05-05 14:56:00 -04:00
models Handle nil and blank cases in Account finders (#3500) 2017-06-01 08:20:36 -04:00
policies Add status destroy authorization to policy (#3453) 2017-05-30 22:56:31 +02:00
presenters Use around hook to restore context in InstancePresenter spec (#3430) 2017-05-30 09:03:35 -04:00
requests Remove the react-rails gem (#2801) 2017-05-04 23:45:18 +02:00
routing Spec coverage and refactor for the api/v1/accounts controllers (#3451) 2017-05-31 21:36:24 +02:00
services Add status destroy authorization to policy (#3453) 2017-05-30 22:56:31 +02:00
support/matchers/model add more tests to models 2017-04-05 00:29:56 +02:00
views Update rails to version 5.0.3 (#3054) 2017-05-14 16:30:14 +02:00
workers Specs for cleanup workers (#3235) 2017-05-22 19:36:21 +02:00
rails_helper.rb Disable sidekiq logging in test mode (#2962) 2017-05-10 16:16:42 +02:00
spec_helper.rb Add more tests for AtomSerializer (#2096) 2017-04-18 22:30:17 +02:00