jgp / acts_as_solr forked from railsfreaks/acts_as_solr

This plugin adds full text search capabilities and many other nifty features from Apache‘s Solr to any Rails model.

This URL has Read+Write access

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.