I’m implementing some ROM relations with the
:memory adapter and have a failing test that seems like it should work. Calling the
delete command doesn’t seem to delete tuples. Looking at the ROM tests for Memory-related commands, it seems the delete command is not in the test suite.
Could it be related to the relation criteria or how the storage is configured?
The tests are in this
ruby_event_store-rom gem. This is the command that will show 4 failing tests:
DATABASE_URL=memory:// ROM_ADAPTER=Memory make test
This project is to allow swapping multiple backing stores via a relation interface, where Memory is a drop-in replacement for SQL.
Any insights are welcome!