Commit Graph
49 Commits
Author SHA1 Message Date
James Smith aa5d47c9df Refactor f3d reader list so we can stub it in tests 2026-02-18 22:02:10 +00:00
James Smith ebd6d72d33 test rate limiting on registrations 2025-11-26 17:42:12 +00:00
James Smith dd575063d2 reset ActiveRecord column information after changing database connection 2025-11-05 16:31:12 +00:00
James Smith 5846e6500a clean database with truncation every time, works better for mysql 2025-09-19 17:20:56 +01:00
James Smith a14650794b use strict encoding for base64 in basic auth header 2025-09-19 10:22:19 +01:00
James Smith d5ddffda5d add support for multiple statements in SQL fixture files 2025-08-21 13:00:57 +01:00
James Smith 4bb698df2e create test setup for testing migration jumps 2025-08-21 11:33:12 +01:00
James Smith 03e99a3d39 change vcr hook to webmock, so we can record stuff done by Down inside Shrine 2025-07-21 13:46:40 +01:00
James Smith e563c47314 add graphql client for cults3d 2025-07-10 17:09:19 +01:00
James Smith 45d7ef6b01 add and test base cults3d deserializer 2025-07-10 14:00:36 +01:00
James Smith dc8003dc24 move API keys into SiteSettings 2025-07-08 16:38:48 +01:00
James Smith 50ab210c1c add thingiverse base deserializer 2025-07-08 15:14:52 +01:00
James Smith b1019fa6ff Set MMF API key in env to fix tests 2025-07-08 13:21:52 +01:00
James Smith 97920b0a63 add default MMF key to filter 2025-07-07 12:38:28 +01:00
James Smith 4b36a4fb9a add VCR for testing API interactions 2025-07-04 17:18:58 +01:00
James Smith d33da62fbb get phlex component tests working 2025-05-07 15:55:03 +01:00
James Smith 7bf932bba8 remove view_component 2025-05-07 13:51:21 +01:00
Manuel Tancoigne 4c9ba9f279 Add spec helpers for screenshots 2025-04-12 10:37:41 +02:00
James Smith 71349674de Change API to use vendor-specific content type, including version 2025-04-11 12:14:28 +01:00
James Smith cc7ddf3f0e apply rswag-aware code linting 2025-04-11 10:36:31 +01:00
James Smith f2b9b0c657 add :after_first_run metadata for test setup 2025-04-09 21:27:38 +01:00
James Smith 61ec18be8f add custom validator for checking uniqueness across tables 2025-03-24 15:53:42 +00:00
James Smith 4116e8adc1 add :federated feature tag 2025-03-20 10:44:58 +00:00
James Smith 241d454e5b add singleuser mode tag 2025-03-20 10:20:34 +00:00
James Smith 46d7632c01 enable proper error handling for all request specs 2025-03-10 15:14:11 +00:00
James Smith 984ff56b71 use rails-style error handling for api tests 2025-03-10 14:57:54 +00:00
James Smith 0c7bd22e94 disable job uniqueness in test mode 2025-02-27 16:41:31 +00:00
James Smith 49ebf5eda2 update expected assets in tests 2025-02-13 11:10:24 +00:00
James Smith 651fca42da get follow button tests working with policies 2024-09-03 23:07:37 +01:00
James Smith c4eae3c070 rename viewer role to member 2024-08-30 17:13:53 +01:00
James Smith 02213b615c rename "editor" role to "moderator" for clarity 2024-08-30 17:13:52 +01:00
James Smith 1c160126b3 use caber permissions in policy scopes 2024-08-30 14:45:19 +01:00
James Smith c1d60dd04f lint: rails.root path globs 2024-08-27 14:16:19 +01:00
James Smith 10d6494de9 mode demo mode check in specs into metadata 2024-08-09 11:26:42 +01:00
James Smith b925cead4e configure testing for view components 2024-07-31 14:09:32 +01:00
James Smith 6f92d46a91 move listable tests into a shared example 2024-07-26 23:24:49 +01:00
James Smith 4e078fc318 mock sidekiq across all tests 2024-04-18 13:14:42 +01:00
James Smith e701ed91ac add metadata for role signin in request specs 2024-03-21 16:39:30 +00:00
James Smith efaff460e3 move multiuser setup into support 2024-03-18 21:30:39 +00:00
James Smith 830b71b8cd auto-include everything in spec/support 2024-03-18 21:30:25 +00:00
James Smith 5fd87d0931 extract devise rspec config into support 2024-03-18 19:05:24 +00:00
James Smith 9fe8cf47c9 add checks for case sensitivity in file scanning 2023-06-12 11:48:41 +01:00
James Smith 2ce031837d lint: remove :each in befores 2022-12-12 17:35:49 +00:00
James Smith bdc7ecc457 lint: time methods 2022-12-12 16:39:23 +00:00
James Smith 7112f2bf16 ignore assets in vendor to fix CI build failure 2022-08-02 15:02:26 +01:00
James Smith 80c593641e fix asset building in tests
Thanks https://stackoverflow.com/questions/71262775/how-do-i-ensure-assets-are-present-with-rail-7-cssbundling-rails-jsbundling-ra
2022-08-02 15:02:26 +01:00
James Smith 07981166e3 add database_cleaner to remove test interactions 2021-03-15 22:51:05 +00:00
James Smith ba8730e0d7 use standardrb 2021-02-05 21:34:03 +00:00
James Smith 5286127565 add factory_bot and faker to make testing more cromulent 2021-02-05 20:46:23 +00:00