f3894759d6
Add tests for modeling item assets
2024-10-25 13:34:02 -07:00
30ada0b7e1
For biology assets, make clearer the weirdness with saving first
2024-10-25 13:04:46 -07:00
8a38ce90dc
Refactor tests for saving things when pet is saved
...
This got more complicated with the items case, and I think this is a
stronger idiom for communicating it!
2024-10-25 12:55:31 -07:00
6d25b3424f
Add tests for matts_bat's items
...
Not their assets yet, just the items
2024-10-24 15:58:16 -07:00
8902527438
Basic modeling spec for my pet, matts_bat
...
No items yet, just putting in the very basics of biology, more
shortform than the Thyassa case
2024-10-24 15:37:57 -07:00
b1890d4f6f
Refactor existing modeling tests to follow more RSpec-y syntax
...
I'm learning how to group things and stuff!
2024-10-24 15:16:55 -07:00
3a5f33fd56
Add tests that modeling a pet a second time doesn't affect its records
...
That is, if everything is the same as before, we don't need to change
anything in our database!
I also learned a bit more about RSpec syntax sugars, it's cute!
2024-10-24 15:04:25 -07:00
a54a844e03
Refactor modeling spec to use a new "a_record_matching" matcher
2024-10-24 14:42:05 -07:00
5b1d1f0695
Add assets to modeling tests, and also uhh some other fixes
...
I forget, there was some tricky debugging about getting the fixtures
right, I think the previous commit doesn't *actually* pass from a clean
setting. Ah well, looks good now!
2024-10-21 16:46:10 -07:00
e92e315743
Move modeling tests to RSpec
...
Also note the jsbundling bump, that was so I can us the relatively-new
`SKIP_YARN_INSTALL=1` flag when running tests, to be a bit faster.
2024-10-21 16:03:58 -07:00