How to check gem that changes ActiveRecord with different DBs?

I created a gem that adds a new class to the ActiveRecord :: Base class. I have tested the gem manually (creating a rails app) and it works, but I would like to create an automatic test battery to test it correctly. Is there any gem that I can use as a reference?




source to share

1 answer

From the Travis config for Rails, it runs multiple times against each DB:

Rough but effective :)



All Articles