mastodon/app/models/concerns
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
..
account_avatar.rb Define instance method outside #included (#3128) 2017-05-19 11:41:45 +02:00
account_finder_concern.rb Expand spec coverage and refactor the Account.find_ methods (#3485) 2017-05-31 20:28:45 +02:00
account_header.rb Define instance method outside #included (#3128) 2017-05-19 11:41:45 +02:00
account_interactions.rb Fix mutes_controller error and incorrect statuses_controller report (#3202) 2017-05-21 13:32:13 +02:00
attachmentable.rb Fixes unknown mime type (#2822) 2017-05-05 21:32:14 +02:00
cacheable.rb Fix #248 - Reload all accounts when fetching from cache 2016-12-03 18:21:26 +01:00
paginable.rb Fix Rubocop offences (#2630) 2017-05-01 16:31:02 +02:00
remotable.rb Fetch remote image using http.rb (#3114) 2017-05-18 15:43:10 +02:00
streamable.rb Define instance method outside #included (#3128) 2017-05-19 11:41:45 +02:00
targetable.rb Define instance method outside #included (#3128) 2017-05-19 11:41:45 +02:00