Nadal
2011-Jan-04 15:31 UTC
[rspec-users] Looking for a gem which uses rspec for testing and tests need to deal with database
Let''s say that I develop a gem which adds a new method to ActiveRecord . Now I want to test this method using rspec. I am able to get started but not sure where to put the database.yml for testing purpose. I was wondering if there is a gem out there which uses rspec for testing and has to interact to database for testing. Thanks
Nick
2011-Jan-04 16:32 UTC
[rspec-users] Looking for a gem which uses rspec for testing and tests need to deal with database
How about vestal_versions? https://github.com/laserlemon/vestal_versions I found it by going to Ruby Toolbox, and looking at the ActiveRecord-related gems. http://ruby-toolbox.com/categories.html Good luck! Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20110104/0946ae6a/attachment.html>
Nadal
2011-Jan-04 17:54 UTC
[rspec-users] Looking for a gem which uses rspec for testing and tests need to deal with database
Thank you Nick. That''s exactly what I was looking for. Also I keep forgetting about ruby-toolbox.com so thanks for pointing that out too. On Jan 4, 11:32?am, Nick <n... at deadorange.com> wrote:> How about vestal_versions?https://github.com/laserlemon/vestal_versions > > I found it by going to Ruby Toolbox, and looking at the ActiveRecord-related > gems.http://ruby-toolbox.com/categories.html > > Good luck! > Nick > > _______________________________________________ > rspec-users mailing list > rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users