mastodon/app
Matt Jankowski 2cc3111a77 Expand spec coverage and refactor the Account.find_ methods (#3485)
* Move specs for account finder methods to concern spec

* Move account finder methods to concern

* Improve spec wording

* Use more explicit comparison to ensure correct return value

* Add coverage for .find_local! and .find_remote!

* Add some methods to the finder

* Use arel on matching_username method

* Avoid ternary in matching domain method

* Simplify finder methods

* Use an AccountFinder class to simplify lookup
2017-05-31 20:28:45 +02:00
..
controllers Improve spec coverage and clean up api/v1/mutes controller (#3481) 2017-05-31 20:27:34 +02:00
helpers Fix #2922 - Load stylesheet from "custom.css" entrypoint when present (#3332) 2017-05-27 16:55:09 +02:00
javascript Update zh-TW.json (#3480) 2017-05-31 18:46:57 +02:00
lib Improve api oembed controller (#3450) 2017-05-30 16:30:06 -04:00
mailers Remove unnecessary .keep files (#2976) 2017-05-11 01:45:42 +02:00
models Expand spec coverage and refactor the Account.find_ methods (#3485) 2017-05-31 20:28:45 +02:00
policies Add status destroy authorization to policy (#3453) 2017-05-30 22:56:31 +02:00
presenters
services Add status destroy authorization to policy (#3453) 2017-05-30 22:56:31 +02:00
validators
views Refactor and spec coverage for api/v1/timelines actions (#3482) 2017-05-31 20:27:17 +02:00
workers Specs for cleanup workers (#3235) 2017-05-22 19:36:21 +02:00