aboutsummaryrefslogtreecommitdiffstats
path: root/test (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Improve category tests with authentication and unique dataMatthew Lemon2024-12-152-4/+8
| | | | Added user login in setup to simulate admin access for tests. Ensured unique category names in creation tests to prevent conflicts. Updated category fixture data to reflect more distinct values.
* ResourceType tests now passMatthew Lemon2024-12-151-3/+8
|
* Add `is_admin` attribute to user fixturesMatthew Lemon2024-12-151-0/+2
| | | | This update includes an `is_admin` attribute for the `one` and `two` user fixtures in the test data. It ensures tests can account for admin-specific functionality.
* Simplify session param structure in tests and controller.Matthew Lemon2024-12-151-1/+1
| | | | | | Fixes bug with passing the password Replaced nested session hash with direct email and password params in test setup, aligning with the updated `SessionsController`. This ensures consistency between test code and actual implementation.
* wip: fixing testsMatthew Lemon2024-12-133-2/+9
|
* Adds category model but not wired up to resource yetMatthew Lemon2024-11-144-0/+111
|
* Adds ResourceType modelMatthew Lemon2024-11-144-0/+103
|
* Adds first pdfresource modelMatthew Lemon2024-11-114-0/+131
|
* initial after migrationMatthew Lemon2024-11-1112-0/+43