Re: [rspec-users] rspec tests and acts_as_solr models

2008-09-23 Thread Pat Maddox
Martin Streicher <[EMAIL PROTECTED]> writes: > I would like to use rspec to test a model that leverages > acts_as_solr. I think I want to render rebuild_solr_index and > solr_commit and perhaps other methods that call out to the Solr > server moot by having those functions simply return true. (I

[rspec-users] rspec tests and acts_as_solr models

2008-09-23 Thread Martin Streicher
I would like to use rspec to test a model that leverages acts_as_solr. I think I want to render rebuild_solr_index and solr_commit and perhaps other methods that call out to the Solr server moot by having those functions simply return true. (I will build other tests to make sure my Solr c