mastodon/spec
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
fabricators
features Keep ENV['LOCAL_HTTPS'] with ApplicationControllerSpec (fix random fail) (#3479) 2017-05-31 17:09:17 +02:00
fixtures
helpers Hold value of I18n.locale with ApplicationHelperSpec (#3474) 2017-05-31 17:09:28 +02:00
javascript Update dependencies of Node.js (#3067) 2017-05-29 18:23:28 +02:00
lib Improve api oembed controller (#3450) 2017-05-30 16:30:06 -04:00
mailers
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 Use around hook to restore context in InstancePresenter spec (#3430) 2017-05-30 09:03:35 -04:00
requests
routing Refactor and spec coverage for api/v1/timelines actions (#3482) 2017-05-31 20:27:17 +02:00
services Add status destroy authorization to policy (#3453) 2017-05-30 22:56:31 +02:00
support/matchers/model
views
workers Specs for cleanup workers (#3235) 2017-05-22 19:36:21 +02:00
rails_helper.rb
spec_helper.rb