Testing searchkick with RSpec
问题 I would like to create feature specs for searching Patients in my Practice Management app. So far, I have searched the net and have followed suggested solutions from: http://bitsandbit.es/post/11295134047/unit-testing-with-tire-and-elastic-search#disqus_thread and https://github.com/karmi/tire/wiki/Integration-Testing-Rails-Models-with-Tire Both of these articles suggested configurations to spec_helper.rb for ElasticSearch and Tire. Since Searchkick was based on Tire, I applied the solutions