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

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

apache - setting document root in antoher partition on ubuntu -

python - pip install -U PySide error -