Anyone knows if there is a way to use database_cleaner and clean test database after each test but keep only certain records? I have some records that are reused in almost all tests and they need to be persisted. Currently i'm setting them with factorybot in before(:all) block but it takes a lot of time and it would be good if they can be persisted and not removed with database cleaner
-- You received this message because you are subscribed to the Google Groups "rspec" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/4971a82c-21b8-4693-942d-92676cbc577a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
