diff --git a/rails_application/test/read_model_handler_test.rb b/rails_application/test/read_model_handler_test.rb index ae91ab73..bf9be0b0 100644 --- a/rails_application/test/read_model_handler_test.rb +++ b/rails_application/test/read_model_handler_test.rb @@ -5,6 +5,11 @@ class ReadModelHandlerTest < InMemoryTestCase cover "CreateRecord*" cover "CopyEventAttribute*" + def setup + super + PublicOffer::Product.destroy_all + end + def test_create_record event = product_registered event_store.append(event)