ruby on rails - Run `rake sunspot:solr:start` before `rake test` -


i forget run rails_env=test rake sunspot:solr:start before run rake test after reboot machine, or happen find myself in new environment.

is there way me make sure solr running while run tests? either within test helper files, or perhaps rake magic hook tasks each other.

our project uses sunspot_test. described(auto start|stop solr in test).


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -