about summary refs log tree commit diff
path: root/spec/models/status_spec.rb
AgeCommit message (Collapse)Author
2017-04-07DRY up reblog vs original status checkJoël Quenneville
Checking reblog vs original status was happening in multiple places across the app. For views, this logic was encapsulated in a helper method named `proper_status` but in the other layers of the app, the logic was duplicated. Because the logic is used at all layers of the app, we extracted it into a `Status#proper` method on the model and changed all uses of the logic to use this method. There is now a single source of truth for this condition. We added test coverage to untested methods that got refactored.
2016-03-25Fix subscriptions:clear task, refactor feeds, refactor streamable activitesEugen Rochko
and atom feed generation to some extent, as well as the way mentions are stored
2016-03-24Sanitize remote html in atom feeds, API (not just UI), use cached mentionEugen Rochko
relations on Status#mentions
2016-03-19Adding more test stubsEugen Rochko
2016-02-26Adding a bunch of testsEugen Rochko
2016-02-25Adding a Mention model, test stubsEugen Rochko
2016-02-20Initial commitEugen Rochko