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
..
2017-05-02 02:14:47 +02:00
2017-05-02 02:14:47 +02:00
2017-05-02 02:14:47 +02:00
2017-04-13 13:02:02 +02:00
2017-05-02 02:14:47 +02:00
2017-05-02 02:14:47 +02:00
2017-05-23 13:12:19 +02:00
2017-05-02 02:14:47 +02:00
2017-05-02 02:14:47 +02:00
2017-05-02 02:14:47 +02:00
2017-05-02 02:14:47 +02:00
2017-05-25 14:14:36 +02:00
2017-05-02 02:14:47 +02:00
2017-05-30 15:28:56 +02:00
2017-01-13 03:24:41 +01:00