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
Post a Comment