Reputation: 33
I have created a gem that adds a new method to the class ActiveRecord::Base. I have tested the gem manually (creating a rails application) and it works, but I would like to create an automatic test battery to test it properly. Is there any gem I can use as reference?
Thanks!!
Sergio.
Upvotes: 3
Views: 127
Reputation: 5541
From the Travis config for Rails, it seems to run it several times against each DB:
https://github.com/rails/rails/blob/master/ci/travis.rb
Crude but effective :)
Upvotes: 1