Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-01-28 | Merge branch 'main' into glitch-soc/merge-upstream | Claire | |
Conflicts: - `Gemfile.lock`: Upstream-updated lib textually too close to glitch-soc-only dep. Updated like upstream. | |||
2022-01-28 | Refactor and improve tests (#17386) | Claire | |
* Change account and user fabricators to simplify and improve tests - `Fabricate(:account)` implicitly fabricates an associated `user` if no `domain` attribute is given (an account with `domain: nil` is considered a local account, but no user record was created), unless `user: nil` is passed - `Fabricate(:account, user: Fabricate(:user))` should still be possible but is discouraged. * Fix and refactor tests - avoid passing unneeded attributes to `Fabricate(:user)` or `Fabricate(:account)` - avoid embedding `Fabricate(:user)` into a `Fabricate(:account)` or the other way around - prefer `Fabricate(:user, account_attributes: …)` to `Fabricate(:user, account: Fabricate(:account, …)` - also, some tests were using remote accounts with local user records, which is not representative of production code. | |||
2019-09-13 | Fix tests being broken because of different default setting | Thibaut Girka | |
2019-01-05 | Add scheduled statuses (#9706) | Eugen Rochko | |
Fix #340 | |||
2018-10-04 | Lint pass (#8876) | aus-social | |
2018-04-21 | Use raw status code on have_http_status (#7214) | Yamagishi Kazutoshi | |
2017-07-27 | Introduce access token fabricators (#4401) | Akihiko Odaki | |
2017-05-23 | Refactor of API timeline actions (#3263) | Matt Jankowski | |
- Increase coverage to exercise all parts of each action - Move into namespace to share common code - Misc refactor of each action for smaller methods, simpler code |