Shoulda Testing With Ultrasphinx
Posted: June 24th, 2009 | Author: mindtonic | Filed under: Rails Plugins | Tags: rails, ruby, shoulda, sphinx, ultrasphinx | 2 Comments »I use the Shoulda testing framework for my Rails applications. After installing and beginning to use the Ultrasphinx plugin, I needed to figure out how to configure and run in a testing environment. This blog entry held the answer: Stephen Celis: Testing with Ultrasphinx
Hello. I think the article is really interesting. I am even interested in reading more. How soon will you update your blog?
Mozilla/4.0 (compatible; MSIE 5.0; Windows 95) Opera 6.01 [en]
I will do my best to be more verbose in the coming days. The long and short of it is that I followed the instructions here: http://stephencelis.com/archive/2008/4/testing-with-ultrasphinx/ and they worked brilliantly. Now when I run my tests, the modifications to the ‘rake’ command automatically bootstrap the ultrasphinx server for me in testing mode. This allows all of my tests on the search controller to have a proper index to run against.
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.11) Gecko/2009060214 Firefox/3.0.11