9eaee4a2d4
Refactor item modeling
...
Simpler, more encapsulated, and fixes the pending jank stuff in the
tests!
2024-11-03 12:05:37 -08:00
6402e5abc3
Remove the pending marker on some modeling tests
2024-11-02 21:39:34 -07:00
d26f3a7598
Add tests for modeling alt style assets
2024-11-02 20:15:35 -07:00
06721f77e9
Add alt style modeling tests
...
I didn't do the assets part of it yet, just the style object!
2024-10-29 22:20:43 -07:00
e65634d8bc
Set up tests for Majal_Kita and its alt style
...
Not actually touching alt style yet, just the very basic stuff about
how alt style can cause loading to fail in certain extremely rare cases
(specifically, if it's our first time seeing the underlying
color/species combo too, which… isn't gonna happen irl on DTI for a long
time if ever, I would guess, but hey!)
2024-10-25 14:47:51 -07:00
4c5d14c591
Add tests for re-modeling Thyassa, in a different mood
2024-10-25 14:15:25 -07:00
28bd6ecca4
Test that modeling items twice doesn't affect them or their assets
2024-10-25 13:47:23 -07:00
7a837edaf6
Use alias they
in specs instead of it
, when it reads better
2024-10-25 13:38:02 -07:00
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