This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
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 Cover ApplicationController more in spec (#3230) 2017-05-22 17:58:57 +02:00
features Keep ENV['LOCAL_HTTPS'] with ApplicationControllerSpec (fix random fail) (#3479) 2017-05-31 17:09:17 +02:00
fixtures Additional specs for URI handling (#2759) 2017-05-03 20:40:14 +02:00
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 Misc spec coverage improvements (#2821) 2017-05-05 14:56:00 -04: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 Use around hook to restore context in InstancePresenter spec (#3430) 2017-05-30 09:03:35 -04:00
requests Remove the react-rails gem (#2801) 2017-05-04 23:45:18 +02:00
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 add more tests to models 2017-04-05 00:29:56 +02:00
views Update rails to version 5.0.3 (#3054) 2017-05-14 16:30:14 +02:00
workers Specs for cleanup workers (#3235) 2017-05-22 19:36:21 +02:00
rails_helper.rb Disable sidekiq logging in test mode (#2962) 2017-05-10 16:16:42 +02:00
spec_helper.rb Add more tests for AtomSerializer (#2096) 2017-04-18 22:30:17 +02:00