mastodon/spec
Matt Jankowski effb08edbb More status specs (#2564)
* Add rough outline of coverage needed for public timeline

* Specs for visibility, replies, boosts

* Specs for silenced account

* Specs for local_only option

* Specs for blocks and mutes

* Add tentative spec around including other silenced account statuses

* Add with_public_visibility scope

* Add simple coverage for tag_timeline

* Tag timeline includes replies

* Replace tag.statuses with a tagged_with scope in tag timeline method

* Use with_public_visibility in tag timeline

* Extract common scope between public and tag timelines to method

* Extract local domain check to local_only scope

* Extract local_only check to starting scope method

* Move list of excluded from timeline account ids to account model

* Simplify excluded accounts list on account model

* Only join accounts when needed

* Rename method for account specific filtering

* Extract method for account exclusions

* Fix bug where silenced accounts were not including statuses from other silenced accounts

* DRY up filter application from account or no account

* timeline_scope can be private

* Add spec showing that account can find its excluded accounts ids

* Add spec which fails if local_only does not have a left outer join

* rubocop
2017-04-28 15:10:41 +02:00
..
controllers Add render_views to admin/reports controller spec (#2548) 2017-04-28 01:21:38 +02:00
fabricators More status specs (#2564) 2017-04-28 15:10:41 +02:00
features Introduce capybara and first feature spec (#1801) 2017-04-15 01:21:02 +02:00
fixtures Punycode URI normalization (#2370) 2017-04-25 02:47:31 +02:00
helpers Ensure i18n matches options (#2358) 2017-04-23 19:09:52 +02:00
javascript Add unit tests for https://github.com/tootsuite/mastodon/pull/1574 (#1584) 2017-04-12 17:16:59 +02:00
lib Decodes URL containing IDN (#2436) 2017-04-25 15:03:51 +02:00
mailers Add digest e-mails 2017-03-04 00:00:48 +01:00
models More status specs (#2564) 2017-04-28 15:10:41 +02:00
presenters About page contact email (#1839) 2017-04-15 13:33:25 +02:00
requests Restful refactor of accounts/ routes (#2133) 2017-04-19 13:52:37 +02:00
routing Restful refactor of accounts/ routes (#2133) 2017-04-19 13:52:37 +02:00
services Improve shared status verification (#2525) 2017-04-27 17:06:47 +02:00
support/matchers/model add more tests to models 2017-04-05 00:29:56 +02:00
views Add og:url tags (#2298) 2017-04-22 17:29:46 +02:00
rails_helper.rb Followers-only post federation (#2111) 2017-04-24 00:38:37 +02:00
spec_helper.rb Add more tests for AtomSerializer (#2096) 2017-04-18 22:30:17 +02:00