public
Description: This plugin adds full text search capabilities and many other nifty features from Apache‘s Solr to any Rails model.
Homepage: http://acts-as-solr.railsfreaks.com
Clone URL: git://github.com/railsfreaks/acts_as_solr.git
acts_as_solr / TESTING_THE_PLUGIN
100644 8 lines (7 sloc) 0.436 kb
1
2
3
4
5
6
7
8
== How to run unit tests for this plugin:
To run the acts_as_solr's plugin tests run the following steps:
- rake solr:start RAILS_ENV=test
- rake (Accepts the following arguments: DB=sqlite|mysql and MYSQL_USER=user)
 
== Troubleshooting:
If for some reason the tests don't run and you get MySQL errors, make sure you edit the MYSQL_USER entry under
config/environment.rb. It's recommended to create or use a MySQL user with no password.