Skip to content
Snippets Groups Projects
  • Matt Jankowski's avatar
    2cc3111a
    Expand spec coverage and refactor the `Account.find_` methods (#3485) · 2cc3111a
    Matt Jankowski authored
    * 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
    2cc3111a
    History
    Expand spec coverage and refactor the `Account.find_` methods (#3485)
    Matt Jankowski authored
    * 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